|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.management.CacheConfiguration
public class CacheConfiguration
A JMX MBean implementation and decorator to net.sf.ehcache.CacheConfiguration
Constructor Summary | |
---|---|
CacheConfiguration(Ehcache cache)
Constructs using a backing CacheConfiguration |
Method Summary | |
---|---|
(package private) static javax.management.ObjectName |
createObjectName(java.lang.String cacheManagerName,
java.lang.String cacheName)
Creates an object name using the scheme "net.sf.ehcache:type=CacheConfiguration,CacheManager= |
long |
getDiskExpiryThreadIntervalSeconds()
Accessor |
int |
getDiskSpoolBufferSizeMB()
Accessor |
int |
getMaxElementsInMemory()
Accessor |
int |
getMaxElementsOnDisk()
Accessor |
java.lang.String |
getMemoryStoreEvictionPolicy()
Accessor |
java.lang.String |
getName()
Accessor |
(package private) javax.management.ObjectName |
getObjectName()
|
long |
getTimeToIdleSeconds()
Accessor |
long |
getTimeToLiveSeconds()
Accessor |
boolean |
isDiskPersistent()
Accessor |
boolean |
isEternal()
Accessor |
boolean |
isOverflowToDisk()
Accessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheConfiguration(Ehcache cache)
cache
- Method Detail |
---|
static javax.management.ObjectName createObjectName(java.lang.String cacheManagerName, java.lang.String cacheName)
public java.lang.String getName()
getName
in interface CacheConfigurationMBean
public int getMaxElementsInMemory()
getMaxElementsInMemory
in interface CacheConfigurationMBean
public int getMaxElementsOnDisk()
getMaxElementsOnDisk
in interface CacheConfigurationMBean
public java.lang.String getMemoryStoreEvictionPolicy()
getMemoryStoreEvictionPolicy
in interface CacheConfigurationMBean
public boolean isEternal()
isEternal
in interface CacheConfigurationMBean
public long getTimeToIdleSeconds()
getTimeToIdleSeconds
in interface CacheConfigurationMBean
public long getTimeToLiveSeconds()
getTimeToLiveSeconds
in interface CacheConfigurationMBean
public boolean isOverflowToDisk()
isOverflowToDisk
in interface CacheConfigurationMBean
public boolean isDiskPersistent()
isDiskPersistent
in interface CacheConfigurationMBean
public int getDiskSpoolBufferSizeMB()
public long getDiskExpiryThreadIntervalSeconds()
getDiskExpiryThreadIntervalSeconds
in interface CacheConfigurationMBean
javax.management.ObjectName getObjectName()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |