|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheConfigurationMBean
A JMX MBean interface for the configuration of a cache
Method Summary | |
---|---|
long |
getDiskExpiryThreadIntervalSeconds()
Accessor |
int |
getDiskSpoolBufferSizeMB()
Accessor |
long |
getMaxBytesLocalDisk()
Configured maximum number of bytes for the local disk store. |
long |
getMaxBytesLocalHeap()
Configured maximum number of bytes for the local memory heap. |
long |
getMaxBytesLocalOffHeap()
Configured maximum number of bytes for the local off-heap memory. |
int |
getMaxElementsInMemory()
Deprecated. use getMaxEntriesLocalHeap() |
int |
getMaxElementsOnDisk()
Deprecated. use getMaxEntriesLocalDisk() |
long |
getMaxEntriesLocalDisk()
Configured maximum number of entries for the local disk store. |
long |
getMaxEntriesLocalHeap()
Configured maximum number of entries for the local memory heap. |
long |
getMaxMemoryOffHeapInBytes()
Deprecated. use getMaxBytesLocalOffHeap() |
String |
getMemoryStoreEvictionPolicy()
Accessor |
String |
getName()
Accessor |
String |
getTerracottaConsistency()
Accessor |
long |
getTimeToIdleSeconds()
Accessor |
long |
getTimeToLiveSeconds()
Accessor |
boolean |
isDiskPersistent()
Accessor |
boolean |
isEternal()
Accessor |
boolean |
isLoggingEnabled()
Accessor |
boolean |
isOverflowToDisk()
Accessor |
boolean |
isOverflowToOffHeap()
Accessor |
boolean |
isTerracottaClustered()
Accessor |
void |
setDiskExpiryThreadIntervalSeconds(long seconds)
setDiskExpiryThreadIntervalSeconds |
void |
setDiskPersistent(boolean diskPersistent)
setDiskPersistent |
void |
setDiskSpoolBufferSizeMB(int diskSpoolBufferSizeMB)
setDiskSpoolBufferSizeMB |
void |
setEternal(boolean eternal)
setEternal |
void |
setLoggingEnabled(boolean loggingEnabled)
setLoggingEnabled |
void |
setMaxElementsInMemory(int maxElements)
Deprecated. use setMaxEntriesLocalHeap(long) |
void |
setMaxElementsOnDisk(int maxElements)
Deprecated. use setMaxEntriesLocalDisk(long) |
void |
setMaxEntriesLocalDisk(long maxEntries)
Configured maximum number of entries for the local disk store. |
void |
setMaxEntriesLocalHeap(long maxEntries)
Configured maximum number of entries for the local memory heap. |
void |
setMemoryStoreEvictionPolicy(String policy)
setMemoryStoreEvictionPolicy |
void |
setOverflowToDisk(boolean overflow)
setOverflowToDisk |
void |
setTimeToIdleSeconds(long tti)
setTimeToIdleSeconds |
void |
setTimeToLiveSeconds(long ttl)
setTimeToLiveSeconds |
Method Detail |
---|
String getName()
boolean isLoggingEnabled()
void setLoggingEnabled(boolean loggingEnabled)
loggingEnabled
- @Deprecated int getMaxElementsInMemory()
getMaxEntriesLocalHeap()
@Deprecated void setMaxElementsInMemory(int maxElements)
setMaxEntriesLocalHeap(long)
maxElements
- @Deprecated int getMaxElementsOnDisk()
getMaxEntriesLocalDisk()
@Deprecated void setMaxElementsOnDisk(int maxElements)
setMaxEntriesLocalDisk(long)
maxElements
- long getMaxEntriesLocalDisk()
long getMaxEntriesLocalHeap()
void setMaxEntriesLocalDisk(long maxEntries)
void setMaxEntriesLocalHeap(long maxEntries)
long getMaxBytesLocalDisk()
long getMaxBytesLocalHeap()
long getMaxBytesLocalOffHeap()
String getMemoryStoreEvictionPolicy()
void setMemoryStoreEvictionPolicy(String policy)
policy
- boolean isEternal()
void setEternal(boolean eternal)
eternal
- long getTimeToIdleSeconds()
void setTimeToIdleSeconds(long tti)
tti
- long getTimeToLiveSeconds()
void setTimeToLiveSeconds(long ttl)
ttl
- boolean isOverflowToDisk()
void setOverflowToDisk(boolean overflow)
overflow
- boolean isDiskPersistent()
void setDiskPersistent(boolean diskPersistent)
diskPersistent
- long getDiskExpiryThreadIntervalSeconds()
void setDiskExpiryThreadIntervalSeconds(long seconds)
seconds
- int getDiskSpoolBufferSizeMB()
void setDiskSpoolBufferSizeMB(int diskSpoolBufferSizeMB)
diskSpoolBufferSizeMB
- boolean isTerracottaClustered()
String getTerracottaConsistency()
boolean isOverflowToOffHeap()
@Deprecated long getMaxMemoryOffHeapInBytes()
getMaxBytesLocalOffHeap()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |