public class CouchbaseCacheMxBean extends Object implements javax.cache.management.CacheMXBean
A management bean for cache
. It provides configuration information. It does not allow mutation of configuration or mutation of the cache.
Each cache’s management object must be registered with an ObjectName that is unique and has the following type and attributes: Type: javax.cache:type=CacheConfiguration
Required Attributes: - CacheManager: the URI of the CacheManager - Cache: the name of the Cache
Constructor and Description |
---|
CouchbaseCacheMxBean(CouchbaseCache<?,?> cache) |
Modifier and Type | Method and Description |
---|---|
String |
getKeyType() |
String |
getValueType() |
boolean |
isManagementEnabled() |
boolean |
isReadThrough() |
boolean |
isStatisticsEnabled() |
boolean |
isStoreByValue() |
boolean |
isWriteThrough() |
public CouchbaseCacheMxBean(CouchbaseCache<?,?> cache)
public String getKeyType()
getKeyType
in interface javax.cache.management.CacheMXBean
public String getValueType()
getValueType
in interface javax.cache.management.CacheMXBean
public boolean isReadThrough()
isReadThrough
in interface javax.cache.management.CacheMXBean
public boolean isWriteThrough()
isWriteThrough
in interface javax.cache.management.CacheMXBean
public boolean isStoreByValue()
isStoreByValue
in interface javax.cache.management.CacheMXBean
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface javax.cache.management.CacheMXBean
public boolean isManagementEnabled()
isManagementEnabled
in interface javax.cache.management.CacheMXBean
Copyright © 2014 Couchbase, Inc.