Class QueryOptionsCache<T>
java.lang.Object
me.lucko.luckperms.common.cache.ExpiringCache<net.luckperms.api.query.QueryOptions>
me.lucko.luckperms.common.context.manager.QueryOptionsCache<T>
- Type Parameters:
T- the player type
- All Implemented Interfaces:
Supplier<net.luckperms.api.query.QueryOptions>,QueryOptionsSupplier
public final class QueryOptionsCache<T>
extends ExpiringCache<net.luckperms.api.query.QueryOptions>
implements QueryOptionsSupplier
Implementation of
QueryOptionsSupplier that caches results.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.lucko.luckperms.common.cache.ExpiringCache
get, invalidate
-
Constructor Details
-
QueryOptionsCache
-
-
Method Details
-
supply
- Specified by:
supplyin classExpiringCache<net.luckperms.api.query.QueryOptions>
-
getQueryOptions
public net.luckperms.api.query.QueryOptions getQueryOptions()- Specified by:
getQueryOptionsin interfaceQueryOptionsSupplier
-
getContextSet
public net.luckperms.api.context.ImmutableContextSet getContextSet()- Specified by:
getContextSetin interfaceQueryOptionsSupplier
-