|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JmxRegistrationManager
@Deprecated public interface CacheJmxWrapperMBean<K,V>
JMX interface to the Cache
. Full access to the cache is not supported, only a certain
set of operations are exposed via JMX:
Configuration
elements
Field Summary | |
---|---|
static int |
CREATED
Deprecated. The lifecycle method create has completed |
static int |
DESTROYED
Deprecated. The lifecycle method destroy has completed |
static int |
FAILED
Deprecated. There has been an error during some operation |
static int |
REGISTERED
Deprecated. The MBean has been instantiated and has completed MBeanRegistration.postRegister |
static int |
STARTED
Deprecated. The lifecycle method start has completed |
static int |
STARTING
Deprecated. The lifecycle method start has been invoked |
static int |
STOPPED
Deprecated. The lifecycle method stop has completed |
static int |
STOPPING
Deprecated. The lifecycle method stop has been invoked |
static int |
UNREGISTERED
Deprecated. The MBean has been instantiated but has not completed MBeanRegistration.postRegister |
Method Summary | |
---|---|
void |
create()
Deprecated. |
void |
destroy()
Deprecated. |
Cache<K,V> |
getCache()
Deprecated. Retrieves a reference to the underlying Cache |
CacheStatus |
getCacheStatus()
Deprecated. Gets where this object is in its lifecycle transitions. |
Configuration |
getConfiguration()
Deprecated. |
org.jgroups.Address |
getLocalAddress()
Deprecated. Returns the local address of this cache in a cluster, or null
if running in local mode. |
List<org.jgroups.Address> |
getMembers()
Deprecated. Returns a list of members in the cluster, or null
if running in local mode. |
int |
getNumberOfAttributes()
Deprecated. |
int |
getNumberOfNodes()
Deprecated. |
boolean |
getRegisterJmxResource()
Deprecated. Gets whether this object should register the cache's interceptors with JMX during create() . |
int |
getState()
Deprecated. Legacy attribute to expose the cache status
in terms of the JBoss AS ServiceMBean values. |
String |
printCacheDetails()
Deprecated. |
String |
printCacheDetailsAsHtml()
Deprecated. |
String |
printConfigurationAsHtmlString()
Deprecated. |
String |
printConfigurationAsString()
Deprecated. |
String |
printLockInfo()
Deprecated. |
String |
printLockInfoAsHtml()
Deprecated. |
void |
setRegisterJmxResource(boolean register)
Deprecated. Sets whether this object should register the cache's interceptors with JMX during create() . |
void |
start()
Deprecated. |
void |
stop()
Deprecated. |
Field Detail |
---|
static final int STOPPED
static final int STOPPING
static final int STARTING
static final int STARTED
static final int FAILED
static final int DESTROYED
static final int CREATED
static final int UNREGISTERED
static final int REGISTERED
Method Detail |
---|
void create() throws CacheException
CacheException
void start() throws CacheException
CacheException
void stop()
void destroy()
CacheStatus getCacheStatus()
null
int getState()
cache status
in terms of the JBoss AS ServiceMBean values. This interface does
not extend ServiceMBean, but this attribute is retained to provide
compatibility with the JBoss AS JSR-77 integration layer.
STARTED
.Cache<K,V> getCache()
Cache
Configuration getConfiguration()
String printConfigurationAsString()
String printConfigurationAsHtmlString()
String printCacheDetails()
String printCacheDetailsAsHtml()
org.jgroups.Address getLocalAddress()
null
if running in local mode.
null
if running in local mode.List<org.jgroups.Address> getMembers()
null
if running in local mode.
List
of members in the cluster, or null
if running in local mode.int getNumberOfNodes()
int getNumberOfAttributes()
String printLockInfo()
String printLockInfoAsHtml()
boolean getRegisterJmxResource()
create()
.
Default is true
.
void setRegisterJmxResource(boolean register)
create()
.
Default is true
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |