| Package | Description |
|---|---|
| me.lucko.luckperms.api.caching |
| Modifier and Type | Method and Description |
|---|---|
MetaContexts |
MetaData.getMetaContexts()
Gets the contexts this container is holding data for.
|
static MetaContexts |
MetaContexts.of(Contexts contexts,
MetaStackDefinition prefixStackDefinition,
MetaStackDefinition suffixStackDefinition)
Creates a new meta contexts instance
|
| Modifier and Type | Method and Description |
|---|---|
MetaData |
CachedData.calculateMeta(MetaContexts contexts)
Calculates meta data, bypassing the cache.
|
MetaData |
CachedData.getMetaData(MetaContexts contexts)
Gets MetaData from the cache, given a specified context.
|
void |
CachedData.invalidateMeta(MetaContexts contexts)
Invalidates any cached
MetaData instances mapped to the given
MetaContexts. |
void |
CachedData.recalculateMeta(MetaContexts contexts)
(Re)calculates meta data for a given context.
|
CompletableFuture<? extends MetaData> |
CachedData.reloadMeta(MetaContexts contexts)
(Re)loads meta data for a given context.
|
Copyright © 2018. All rights reserved.