@ThreadSafe @MBean(objectName="Passivation", description="Component that handles passivating entries to a CacheStore on eviction.") public abstract class AbstractPassivationManager extends Object implements PassivationManager
Constructor and Description |
---|
AbstractPassivationManager() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getPassivations() |
abstract void |
passivateAll()
Passivates all entries that are in memory.
|
abstract void |
resetStatistics()
Resets an interceptor's cache statistics
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEnabled, passivateAllAsync, passivateAsync, skipPassivationOnStop
getStatisticsEnabled, setStatisticsEnabled
@ManagedOperation(description="Passivate all entries to the CacheStore", displayName="Passivate all") public abstract void passivateAll() throws PersistenceException
PersistenceException
@ManagedAttribute(description="Number of passivation events", displayName="Number of cache passivations", measurementType=TRENDSUP) public abstract long getPassivations()
getPassivations
in interface PassivationManager
@ManagedOperation(description="Resets statistics gathered by this component", displayName="Reset statistics") public abstract void resetStatistics()
JmxStatisticsExposer
resetStatistics
in interface PassivationManager
resetStatistics
in interface JmxStatisticsExposer
Copyright © 2021 JBoss by Red Hat. All rights reserved.