Class AbstractManager<I, C, T extends C>
java.lang.Object
me.lucko.luckperms.common.model.manager.AbstractManager<I,C,T>
- Type Parameters:
I- the class used to identify each object held in this managerC- the super class being managedT- the implementation class this manager is "managing"
- Direct Known Subclasses:
AbstractGroupManager, AbstractTrackManager, AbstractUserManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll()Gets a map containing all cached instances held by this manager.getIfLoaded(I id) Get an object by idGets or creates an object by idbooleanCheck to see if a object is loaded or notvoidretainAll(Collection<I> ids) CallsManager.unload(Object)for all objects currently loaded not in the given collection of ids.protected IvoidRemoves and unloads the object from the manager
-
Constructor Details
-
AbstractManager
public AbstractManager()
-
-
Method Details
-
getAll
-
getOrMake
Description copied from interface:ManagerGets or creates an object by idShould only every be called by the storage implementation.
-
getIfLoaded
-
isLoaded
-
unload
-
retainAll
Description copied from interface:ManagerCallsManager.unload(Object)for all objects currently loaded not in the given collection of ids. -
sanitizeIdentifier
-