|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PojoCacheJmxWrapperMBean
StandardMBean interface for PojoCacheJmxWrapperMBean
.
Field Summary | |
---|---|
static int |
CREATED
The lifecycle method create has completed |
static int |
DESTROYED
The lifecycle method destroy has completed |
static int |
FAILED
There has been an error during some operation |
static int |
REGISTERED
The MBean has been instantiated and has completed MBeanRegistration.postRegister |
static int |
STARTED
The lifecycle method start has completed |
static int |
STARTING
The lifecycle method start has been invoked |
static int |
STOPPED
The lifecycle method stop has completed |
static int |
STOPPING
The lifecycle method stop has been invoked |
static int |
UNREGISTERED
The MBean has been instantiated but has not completed MBeanRegistration.postRegister |
Method Summary | |
---|---|
void |
create()
Lifecycle method to start PojoCache. |
void |
destroy()
Lifecycle method to destroy PojoCache. |
CacheStatus |
getCacheStatus()
Gets where this object is in its lifecycle transitions. |
Configuration |
getConfiguration()
Retrieves an immutable configuration. |
java.lang.String |
getInternalLocation(java.lang.Object pojo)
Obtain the internal location of this pojo stored under PojoCache. |
PojoCache |
getPojoCache()
Returns the PojoCache. |
boolean |
getRegisterInterceptors()
Gets whether this object should register the cache's interceptors with JMX. |
boolean |
getRegisterPlainCache()
Gets whether this object should register a CacheJmxWrapperMBean
for the underlying Cache with JMX. |
int |
getState()
Legacy attribute to expose the cache status
in terms of the JBoss AS ServiceMBean values. |
java.lang.String |
getUnderlyingCacheObjectName()
Get the MBean object name that the underlying replicated cache is using. |
void |
setRegisterInterceptors(boolean register)
Sets whether this object should register the cache's interceptors with JMX. |
void |
setRegisterPlainCache(boolean registerPlainCache)
Sets whether this object should register a CacheJmxWrapperMBean
for the underlying Cache with JMX. |
void |
start()
Lifecycle method to start PojoCache. |
void |
stop()
Lifecycle method to stop PojoCache. |
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 PojoCacheException
PojoCacheException
void start() throws PojoCacheException
PojoCacheException
void stop() throws PojoCacheException
PojoCacheException
void destroy() throws PojoCacheException
PojoCacheException
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
.PojoCache getPojoCache()
Configuration getConfiguration()
boolean getRegisterPlainCache()
CacheJmxWrapperMBean
for the underlying Cache
with JMX.
Default is true
.
void setRegisterPlainCache(boolean registerPlainCache)
CacheJmxWrapperMBean
for the underlying Cache
with JMX.
Default is true
.
If true
, the CacheJmxWrapperMBean
will be
instantiated and registered either as part of the registration of
this object, or during the call to create()
.
boolean getRegisterInterceptors()
registerPlainCache
is true
.
Default is true
.
void setRegisterInterceptors(boolean register)
registerPlainCache
is true
.
Default is true
.
java.lang.String getInternalLocation(java.lang.Object pojo) throws PojoCacheAlreadyDetachedException
pojo
- That is associated with this POJO. If null, it means all POJOs in this cache system.
PojoCacheAlreadyDetachedException
- if pojo has been detached already.java.lang.String getUnderlyingCacheObjectName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |