|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheConfigurationListener
Instances of CacheConfigurationListener can be registered with CacheConfiguration instances in order to receive notification when any of the dynamic properties of the configuration are changed.
| 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 oldValue,
long newValue)
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 |
| Method Detail |
|---|
void timeToIdleChanged(long oldTimeToIdle,
long newTimeToIdle)
oldTimeToIdle - previous time to idle valuenewTimeToIdle - new time to idle value
void timeToLiveChanged(long oldTimeToLive,
long newTimeToLive)
oldTimeToLive - previous time to live valuenewTimeToLive - new time to live value
void diskCapacityChanged(int oldCapacity,
int newCapacity)
oldCapacity - previous capacitynewCapacity - new capacity
void memoryCapacityChanged(int oldCapacity,
int newCapacity)
oldCapacity - previous capacitynewCapacity - new capacity
void loggingChanged(boolean oldValue,
boolean newValue)
oldValue - old value whether logging was enabled or notnewValue - new value whether logging was enabled or notvoid registered(CacheConfiguration config)
config - void deregistered(CacheConfiguration config)
config -
void maxBytesLocalHeapChanged(long oldValue,
long newValue)
oldValue - old value in bytesnewValue - new value in bytes
void maxBytesLocalDiskChanged(long oldValue,
long newValue)
oldValue - old value in bytesnewValue - new value in bytes
void maxEntriesInCacheChanged(long oldValue,
long newValue)
oldValue - old valuenewValue - new value
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||