public abstract class SampledEhcacheMBeans extends Object
ObjectName
's for sampled MBeans
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_ID
Group id for all sampled mbeans registered
|
static String |
SAMPLED_CACHE_MANAGER_TYPE
Type used for sampled cache manager mbean
|
static String |
SAMPLED_CACHE_TYPE
Type used for sampled cache mbean
|
static String |
STORE_TYPE
Type used for store mbean
|
Constructor and Description |
---|
SampledEhcacheMBeans() |
Modifier and Type | Method and Description |
---|---|
static ObjectName |
getCacheManagerObjectName(String clientUUID,
String cacheManagerName)
Returns an ObjectName for the passed cacheManagerName
|
static ObjectName |
getCacheObjectName(String clientUUID,
String cacheManagerName,
String cacheName)
Returns an ObjectName for the passed cacheManagerName, cacheName
combination
|
static ObjectName |
getQueryCacheManagerObjectName(String clientUUID,
String cacheManagerName)
Returns an ObjectName that can be used for querying all Cache
ObjectName's for the passed cacheManagerName
|
static ObjectName |
getQueryCacheManagersObjectName(String clientUUID)
Returns an ObjectName that can be used to query all objectNames of
SAMPLED_CACHE_MANAGER_TYPE |
public static final String SAMPLED_CACHE_MANAGER_TYPE
public static final String SAMPLED_CACHE_TYPE
public static final String STORE_TYPE
public static final String GROUP_ID
public static ObjectName getCacheManagerObjectName(String clientUUID, String cacheManagerName) throws MalformedObjectNameException
cacheManagerName
- ObjectName
using the input name of cache managerMalformedObjectNameException
public static ObjectName getCacheObjectName(String clientUUID, String cacheManagerName, String cacheName) throws MalformedObjectNameException
cacheManagerName
- cacheName
- ObjectName
representing the cache using the passed
cache and the cache manager nameMalformedObjectNameException
public static ObjectName getQueryCacheManagerObjectName(String clientUUID, String cacheManagerName) throws MalformedObjectNameException
cacheManagerName
- ObjectName
which can be used for querying all Cache
ObjectName's for the input cache manager nameMalformedObjectNameException
public static ObjectName getQueryCacheManagersObjectName(String clientUUID) throws MalformedObjectNameException
SAMPLED_CACHE_MANAGER_TYPE
ObjectName
that can be used to query all ObjectName's
of "SampledCacheManager"MalformedObjectNameException
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.