public interface CacheConfigurationListener
| Modifier and Type | Method and Description |
|---|---|
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 |
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
|
void timeToIdleChanged(long oldTimeToIdle,
long newTimeToIdle)
oldTimeToIdle - previous time to idle valuenewTimeToIdle - new time to idle valuevoid timeToLiveChanged(long oldTimeToLive,
long newTimeToLive)
oldTimeToLive - previous time to live valuenewTimeToLive - new time to live valuevoid diskCapacityChanged(int oldCapacity,
int newCapacity)
oldCapacity - previous capacitynewCapacity - new capacityvoid memoryCapacityChanged(int oldCapacity,
int newCapacity)
oldCapacity - previous capacitynewCapacity - new capacityvoid 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 bytesvoid maxBytesLocalDiskChanged(long oldValue,
long newValue)
oldValue - old value in bytesnewValue - new value in bytesCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.