Class RegLimiterComponent
java.lang.Object
pro.gravit.launchserver.components.Component
pro.gravit.launchserver.components.AbstractLimiter<String>
pro.gravit.launchserver.components.IPLimiter
pro.gravit.launchserver.components.RegLimiterComponent
- All Implemented Interfaces:
AutoCloseable,pro.gravit.launcher.NeedGarbageCollection,Reconfigurable
public class RegLimiterComponent
extends IPLimiter
implements pro.gravit.launcher.NeedGarbageCollection, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class pro.gravit.launchserver.components.AbstractLimiter
exclude, map, rateLimit, rateLimitMillisFields inherited from class pro.gravit.launchserver.components.Component
componentName, providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit(LaunchServer launchServer)booleanregisterHook(AuthHookManager.RegContext context)Methods inherited from class pro.gravit.launchserver.components.IPLimiter
getFromStringMethods inherited from class pro.gravit.launchserver.components.AbstractLimiter
check, garbageCollection, getCommandsMethods inherited from class pro.gravit.launchserver.components.Component
postInit, preInit, registerComponents, setComponentNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launcher.NeedGarbageCollection
garbageCollectionMethods inherited from interface pro.gravit.launchserver.Reconfigurable
defaultCommandsMap
-
Field Details
-
launchServer
-
message
-
excludeIps
-
-
Constructor Details
-
RegLimiterComponent
public RegLimiterComponent()
-
-
Method Details
-
init
-
registerHook
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-