Class UserCachedDataManager
java.lang.Object
me.lucko.luckperms.common.cacheddata.AbstractCachedDataManager
me.lucko.luckperms.common.cacheddata.HolderCachedDataManager<User>
me.lucko.luckperms.common.cacheddata.UserCachedDataManager
- All Implemented Interfaces:
net.luckperms.api.cacheddata.CachedDataManager
public class UserCachedDataManager
extends HolderCachedDataManager<User>
implements net.luckperms.api.cacheddata.CachedDataManager
Holds an easily accessible cache of a user's data in a number of contexts
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.luckperms.api.cacheddata.CachedDataManager
net.luckperms.api.cacheddata.CachedDataManager.Container<T> -
Field Summary
Fields inherited from class HolderCachedDataManager
holder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CacheMetadatagetMetadataForQueryOptions(net.luckperms.api.query.QueryOptions queryOptions) Returns aCacheMetadatainstance for the givenQueryOptions.Methods inherited from class HolderCachedDataManager
getCalculatorFactory, getDefaultMetaStackDefinition, getQueryOptions, resolveMeta, resolvePermissionsMethods inherited from class AbstractCachedDataManager
getMetaData, getMetaData, getPermissionData, getPermissionData, getPlugin, invalidate, invalidatePermissionCalculators, metaData, performCacheCleanup, permissionDataMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.luckperms.api.cacheddata.CachedDataManager
getMetaData, getMetaData, getPermissionData, getPermissionData, invalidate, invalidatePermissionCalculators, metaData, permissionData
-
Constructor Details
-
UserCachedDataManager
-
-
Method Details
-
getMetadataForQueryOptions
protected CacheMetadata getMetadataForQueryOptions(net.luckperms.api.query.QueryOptions queryOptions) Description copied from class:AbstractCachedDataManagerReturns aCacheMetadatainstance for the givenQueryOptions.- Specified by:
getMetadataForQueryOptionsin classAbstractCachedDataManager- Parameters:
queryOptions- the query options the cache is for- Returns:
- the metadata instance
-