@ThreadSafe
public interface EvictionManager<K,V>
Modifier and Type | Method and Description |
---|---|
default CompletionStage<Void> |
onEntryEviction(Map<K,Map.Entry<K,V>> evicted)
Handles notifications of evicted entries
|
CompletionStage<Void> |
onEntryEviction(Map<K,Map.Entry<K,V>> evicted,
FlagAffectedCommand command)
Handles notifications of evicted entries based on if the command allow them
|
default CompletionStage<Void> onEntryEviction(Map<K,Map.Entry<K,V>> evicted)
evicted
- The entries that were just evictedCompletionStage<Void> onEntryEviction(Map<K,Map.Entry<K,V>> evicted, FlagAffectedCommand command)
evicted
- The entries that were just evictedcommand
- The command that generated the eviction if applicableCopyright © 2021 JBoss by Red Hat. All rights reserved.