Package me.lucko.luckperms.common.cache
Class Cache<T>
java.lang.Object
me.lucko.luckperms.common.cache.Cache<T>
- Type Parameters:
T- the type being stored
- Direct Known Subclasses:
Group.DisplayNameCache,WeightCache
Simple one element cache implementation.
-
Constructor Details
-
Cache
public Cache()
-
-
Method Details
-
supply
-
get
-
getIfPresent
-
invalidate
public final void invalidate()
-