| Modifier and Type | Field and Description |
|---|---|
| private final ObjectName | |
| private static final long | |
| private final DynamicMBean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ObjectName | createObjectName(String cacheManagerName, String cacheName)
Creates an object name using the scheme "net.sf.ehcache:type=Store,CacheManager=<cachemanagername>,name=<cachename>" |
| public Object | getAttribute(String
The name of the attribute to be retrieved attribute)Implements javax. |
| public AttributeList | getAttributes(String[]
A list of the attributes to be retrieved. attributes)Implements javax. |
| pack-priv static Store | |
| public MBeanInfo | getMBeanInfo()
Implements javax. |
| public ObjectName | |
| public Object | invoke(String
The name of the action to be invoked. actionName, Object[] An array containing the parameters to be set when the action is
invoked. params, String[] An array containing the signature of the action. The class objects will
be loaded through the same class loader as the one used for loading the
MBean on which the action is invoked. signature)Implements javax. |
| public void | setAttribute(Attribute
The identification of the attribute to
be set and the value it is to be set to. attribute)Implements javax. |
| public AttributeList | setAttributes(AttributeList
A list of attributes: The identification of the
attributes to be set and the values they are to be set to. attributes)Implements javax. |
| objectName | back to summary |
|---|---|
| private final ObjectName objectName | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| storeBean | back to summary |
|---|---|
| private final DynamicMBean storeBean | |
| Store | back to summary |
|---|---|
| private Store(Ehcache ehcache, Object storeBean) throws NotCompliantMBeanException | |
| createObjectName | back to summary |
|---|---|
| pack-priv static ObjectName createObjectName(String cacheManagerName, String cacheName) Creates an object name using the scheme "net.sf.ehcache:type=Store,CacheManager= | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException Implements javax. Doc from javax. Obtain the value of a specific attribute of the Dynamic MBean.
| |
| getAttributes | back to summary |
|---|---|
| public AttributeList getAttributes(String[] attributes) Implements javax. Doc from javax. Get the values of several attributes of the Dynamic MBean.
| |
| getBean | back to summary |
|---|---|
| pack-priv static Store getBean(Ehcache cache) throws NotCompliantMBeanException Get the optional store management bean for the given cache. | |
| getMBeanInfo | back to summary |
|---|---|
| public MBeanInfo getMBeanInfo() Implements javax. Doc from javax. Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object.
| |
| getObjectName | back to summary |
|---|---|
public ObjectName getObjectName()
| |
| invoke | back to summary |
|---|---|
| public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException Implements javax. Doc from javax. Allows an action to be invoked on the Dynamic MBean.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException Implements javax. Doc from javax. Set the value of a specific attribute of the Dynamic MBean.
| |
| setAttributes | back to summary |
|---|---|
| public AttributeList setAttributes(AttributeList attributes) Implements javax. Doc from javax. Sets the values of several attributes of the Dynamic MBean.
| |