public final class Store
extends java.lang.Object
implements java.io.Serializable, javax.management.DynamicMBean
Modifier and Type | Field and Description |
---|---|
private javax.management.ObjectName |
objectName |
private static long |
serialVersionUID |
private javax.management.DynamicMBean |
storeBean |
Modifier | Constructor and Description |
---|---|
private |
Store(Ehcache ehcache,
java.lang.Object storeBean) |
Modifier and Type | Method and Description |
---|---|
(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=Store,CacheManager=
|
java.lang.Object |
getAttribute(java.lang.String attribute) |
javax.management.AttributeList |
getAttributes(java.lang.String[] attributes) |
(package private) static Store |
getBean(Ehcache cache)
Get the optional store management bean for the given cache.
|
javax.management.MBeanInfo |
getMBeanInfo() |
javax.management.ObjectName |
getObjectName() |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature) |
void |
setAttribute(javax.management.Attribute attribute) |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes) |
private static final long serialVersionUID
private final javax.management.ObjectName objectName
private final javax.management.DynamicMBean storeBean
private Store(Ehcache ehcache, java.lang.Object storeBean) throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
static Store getBean(Ehcache cache) throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
static javax.management.ObjectName createObjectName(java.lang.String cacheManagerName, java.lang.String cacheName)
public javax.management.ObjectName getObjectName()
public java.lang.Object getAttribute(java.lang.String attribute) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
getAttributes
in interface javax.management.DynamicMBean
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes
in interface javax.management.DynamicMBean
public java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean