|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.config.AbstractCacheConfigurationListener
public abstract class AbstractCacheConfigurationListener
Constructor Summary | |
---|---|
AbstractCacheConfigurationListener()
|
Method Summary | |
---|---|
void |
deregistered(CacheConfiguration config)
Indicates that this listener was removed from the given configuration |
void |
diskCapacityChanged(int oldCapacity,
int newCapacity)
Indicates a change in the configurations disk store capacity |
void |
loggingChanged(boolean oldValue,
boolean newValue)
Indicates a change in the configuration for enable/disable logging |
void |
maxBytesLocalDiskChanged(long oldValue,
long newValue)
Indicates a change in the configuration for maxBytesLocalDisk setting |
void |
maxBytesLocalHeapChanged(long oldValue,
long newValue)
Indicates a change in the configuration for maxBytesLocalHeap setting |
void |
maxEntriesInCacheChanged(long oldCapacity,
long newCapacity)
Indicates a change in the configuration for maxEntriesInCache setting |
void |
memoryCapacityChanged(int oldCapacity,
int newCapacity)
Indicates a change in the configurations memory store capacity |
void |
registered(CacheConfiguration config)
Indicates that this listener was registered with the given configuration |
void |
timeToIdleChanged(long oldTimeToIdle,
long newTimeToIdle)
Indicates a change in the configurations time to idle |
void |
timeToLiveChanged(long oldTimeToLive,
long newTimeToLive)
Indicates a change in the configurations time to live |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCacheConfigurationListener()
Method Detail |
---|
public void timeToIdleChanged(long oldTimeToIdle, long newTimeToIdle)
timeToIdleChanged
in interface CacheConfigurationListener
oldTimeToIdle
- previous time to idle valuenewTimeToIdle
- new time to idle valuepublic void timeToLiveChanged(long oldTimeToLive, long newTimeToLive)
timeToLiveChanged
in interface CacheConfigurationListener
oldTimeToLive
- previous time to live valuenewTimeToLive
- new time to live valuepublic void diskCapacityChanged(int oldCapacity, int newCapacity)
diskCapacityChanged
in interface CacheConfigurationListener
oldCapacity
- previous capacitynewCapacity
- new capacitypublic void memoryCapacityChanged(int oldCapacity, int newCapacity)
memoryCapacityChanged
in interface CacheConfigurationListener
oldCapacity
- previous capacitynewCapacity
- new capacitypublic void loggingChanged(boolean oldValue, boolean newValue)
loggingChanged
in interface CacheConfigurationListener
oldValue
- old value whether logging was enabled or notnewValue
- new value whether logging was enabled or notpublic void registered(CacheConfiguration config)
registered
in interface CacheConfigurationListener
public void deregistered(CacheConfiguration config)
deregistered
in interface CacheConfigurationListener
public void maxBytesLocalHeapChanged(long oldValue, long newValue)
maxBytesLocalHeapChanged
in interface CacheConfigurationListener
oldValue
- old value in bytesnewValue
- new value in bytespublic void maxBytesLocalDiskChanged(long oldValue, long newValue)
maxBytesLocalDiskChanged
in interface CacheConfigurationListener
oldValue
- old value in bytesnewValue
- new value in bytespublic void maxEntriesInCacheChanged(long oldCapacity, long newCapacity)
maxEntriesInCacheChanged
in interface CacheConfigurationListener
oldCapacity
- old valuenewCapacity
- new value
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |