Package org.infinispan.eviction.impl
Interface PassivationManager
- All Superinterfaces:
JmxStatisticsExposer
- All Known Implementing Classes:
AbstractPassivationManager
,PassivationManagerImpl
,PassivationManagerStub
A passivation manager
- Version:
- 4.1
- Author:
- Manik Surtani
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
Start passivating all entries that are in memory.passivateAsync
(InternalCacheEntry<?, ?> entry) Passivates the entry in a non blocking fashion.void
Resets an interceptor's cache statisticsvoid
skipPassivationOnStop
(boolean skip) Skips the passivation when the cache is stopped.Methods inherited from interface org.infinispan.jmx.JmxStatisticsExposer
getStatisticsEnabled, setStatisticsEnabled
-
Method Details
-
isEnabled
boolean isEnabled() -
passivateAsync
Passivates the entry in a non blocking fashion.- Parameters:
entry
- entry to passivate- Returns:
- CompletionStage that when complete will have passivated the entry and notified listeners
-
passivateAllAsync
CompletionStage<Void> passivateAllAsync()Start passivating all entries that are in memory. This method does not notify listeners of passivation.- Since:
- 10.1
-
skipPassivationOnStop
void skipPassivationOnStop(boolean skip) Skips the passivation when the cache is stopped. -
getPassivations
long getPassivations() -
resetStatistics
void resetStatistics()Description copied from interface:JmxStatisticsExposer
Resets an interceptor's cache statistics- Specified by:
resetStatistics
in interfaceJmxStatisticsExposer
-