Class CooldownValidator.ExecutorMethodKey
java.lang.Object
com.ultikits.ultitools.abstracts.command.validation.validators.CooldownValidator.ExecutorMethodKey
- Enclosing class:
CooldownValidator
An executor-scoped cooldown key (#539): the executor instance, compared by identity and held
weakly so an active cooldown never keeps an unloaded module's executor -- and with it the
module's class loader -- reachable, plus
method.toString(). Identity rather than
equals: two executors of one class are two owners, whatever their class declares.- Since:
- 6.2.0
- Version:
- 2.0.0
- Author:
- wisdomme
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
executor
-
methodKey
-
hash
private final int hash
-
-
Constructor Details
-
ExecutorMethodKey
-
-
Method Details
-
equals
-
hashCode
-