public final class RIMBeanServerRegistrationUtility extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RIMBeanServerRegistrationUtility.ObjectNameType
The type of registered Object
|
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
registerCacheObject(AbstractJCache<K,V> cache,
RIMBeanServerRegistrationUtility.ObjectNameType objectNameType)
Utility method for registering CacheStatistics with the platform
MBeanServer
|
static <K,V> void |
unregisterCacheObject(AbstractJCache<K,V> cache,
RIMBeanServerRegistrationUtility.ObjectNameType objectNameType)
Removes registered CacheStatistics for a Cache
|
public static <K,V> void registerCacheObject(AbstractJCache<K,V> cache, RIMBeanServerRegistrationUtility.ObjectNameType objectNameType)
cache
- the cache to registerpublic static <K,V> void unregisterCacheObject(AbstractJCache<K,V> cache, RIMBeanServerRegistrationUtility.ObjectNameType objectNameType)
javax.cache.CacheException
- - all exceptions are wrapped in
CacheExceptionCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.