Class CooldownRepository.AbstractCooldownRepository<K>
java.lang.Object
org.incendo.cloud.processors.cooldown.CooldownRepository.AbstractCooldownRepository<K>
- All Implemented Interfaces:
CooldownRepository<K>
- Direct Known Subclasses:
CooldownRepository.CacheCooldownRepository,CooldownRepository.MapCooldownRepository
- Enclosing interface:
- CooldownRepository<K>
public abstract static class CooldownRepository.AbstractCooldownRepository<K>
extends Object
implements CooldownRepository<K>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.processors.cooldown.CooldownRepository
CooldownRepository.AbstractCooldownRepository<K>, CooldownRepository.CacheCooldownRepository<K>, CooldownRepository.MapCooldownRepository<K>, CooldownRepository.MappingCooldownRepository<C,K> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteCooldown(@NonNull K key, @NonNull CooldownGroup group) Deletes the cooldown identified by the givenkeybelonging to the givengroup.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.processors.cooldown.CooldownRepository
deleteProfile, getProfile, getProfileIfExists
-
Constructor Details
-
AbstractCooldownRepository
public AbstractCooldownRepository()
-
-
Method Details
-
deleteCooldown
Description copied from interface:CooldownRepositoryDeletes the cooldown identified by the givenkeybelonging to the givengroup.If the profile is empty after the deletion, then the profile is deleted too.
- Specified by:
deleteCooldownin interfaceCooldownRepository<K>- Parameters:
key- key identifying the profilegroup- group to delete
-