Class DetachedContextManager<S, P extends S>
java.lang.Object
me.lucko.luckperms.common.context.manager.ContextManager<S,P>
me.lucko.luckperms.common.context.manager.DetachedContextManager<S,P>
Implementation of
ContextManager which utilises 'detached' supplier caches stored alongside the subject instances.-
Field Summary
Fields inherited from class ContextManager
plugin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDetachedContextManager(LuckPermsPlugin plugin, Class<S> subjectClass, Class<P> playerClass) -
Method Summary
Modifier and TypeMethodDescriptioncreateQueryOptionsSupplier(S subject) net.luckperms.api.query.QueryOptionsgetQueryOptions(S subject) abstract @Nullable QueryOptionsSuppliergetQueryOptionsSupplier(S subject) voidinvalidateCache(S subject) Methods inherited from class ContextManager
calculate, callContextCalculator, callStaticContextCalculator, customizeQueryOptions, customizeStaticQueryOptions, getContext, getPlayerClass, getPotentialContexts, getStaticContext, getStaticQueryOptions, getSubjectClass, getUniqueId, registerCalculator, signalContextUpdate, unregisterCalculator
-
Constructor Details
-
DetachedContextManager
protected DetachedContextManager(LuckPermsPlugin plugin, Class<S> subjectClass, Class<P> playerClass)
-
-
Method Details
-
getQueryOptions
- Specified by:
getQueryOptionsin classContextManager<S, P extends S>
-
invalidateCache
- Specified by:
invalidateCachein classContextManager<S, P extends S>
-
createQueryOptionsSupplier
-
getQueryOptionsSupplier
-