Package org.infinispan.eviction
Interface PassivationManager
-
- All Superinterfaces:
JmxStatisticsExposer
@ThreadSafe public interface PassivationManager extends JmxStatisticsExposer
A passivation manager- Version:
- 4.1
- Author:
- Manik Surtani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetPassivations()booleanisEnabled()voidpassivate(InternalCacheEntry entry)voidpassivateAll()voidresetStatistics()Resets an interceptor's cache statisticsvoidskipPassivationOnStop(boolean skip)Skips the passivation when the cache is stopped.-
Methods inherited from interface org.infinispan.jmx.JmxStatisticsExposer
getStatisticsEnabled, setStatisticsEnabled
-
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
-
passivate
void passivate(InternalCacheEntry entry)
-
passivateAll
void passivateAll() throws PersistenceException- Throws:
PersistenceException
-
skipPassivationOnStop
void skipPassivationOnStop(boolean skip)
Skips the passivation when the cache is stopped.
-
getPassivations
long getPassivations()
-
resetStatistics
void resetStatistics()
Description copied from interface:JmxStatisticsExposerResets an interceptor's cache statistics- Specified by:
resetStatisticsin interfaceJmxStatisticsExposer
-
-