diff --git a/src/main/java/com/graywolf336/jail/listeners/CacheListener.java b/src/main/java/com/graywolf336/jail/listeners/CacheListener.java index 75121b3..64f7e3e 100644 --- a/src/main/java/com/graywolf336/jail/listeners/CacheListener.java +++ b/src/main/java/com/graywolf336/jail/listeners/CacheListener.java @@ -16,6 +16,20 @@ import com.graywolf336.jail.events.PrisonerJailedEvent; import com.graywolf336.jail.events.PrisonerReleasedEvent; import com.graywolf336.jail.events.PrisonerTransferredEvent; +/** + * The listen for all events which need to add/remove to the prisoner cache. + * + *

+ * + * These listeners add and remove prisoner cache objects to the cache, + * this way we gain performance for servers which have a high amount + * of prisoners jailed. (500+) + * + * @author graywolf336 + * @since 3.0.0 + * @version 1.0.0 + * + */ public class CacheListener implements Listener { private JailMain pl;