|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.cache.impl.MXBeanUtil
public final class MXBeanUtil
MXBean utility methods related to registration of the beans.
Method Summary | |
---|---|
static ObjectName |
calculateObjectName(String cacheManagerName,
String name,
boolean stats)
Creates an object name using the scheme. |
static void |
registerCacheObject(Object mxbean,
String cacheManagerName,
String name,
boolean stats)
Registers the provided CacheMXBean or
CacheStatisticsMXBean implementations if not registered yet. |
static void |
unregisterCacheObject(String cacheManagerName,
String name,
boolean stats)
UnRegisters the mxbean if registered already. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void registerCacheObject(Object mxbean, String cacheManagerName, String name, boolean stats)
CacheMXBean
or
CacheStatisticsMXBean
implementations if not registered yet.
mxbean
- CacheMXBean
or CacheStatisticsMXBean
.cacheManagerName
- name generated by URI and classloader.name
- cache name.stats
- is mxbean parameter, a statistics mxbean.public static void unregisterCacheObject(String cacheManagerName, String name, boolean stats)
cacheManagerName
- name generated by URI and classloader.name
- cache name.stats
- is mxbean, a statistics mxbean.public static ObjectName calculateObjectName(String cacheManagerName, String name, boolean stats)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |