javax.cache.mbeans
Interface CacheMXBean

All Superinterfaces:
CacheStatistics, CacheStatisticsMXBean

@MXBean
public interface CacheMXBean
extends CacheStatisticsMXBean

A management bean for cache.

Each cache's statistics object must be registered with an ObjectName that is unique and has the following:

Type: javax.cache:type=CacheStatistics

Required Attributes:

Since:
1.0
Author:
Greg Luck, Yannis Cosmadopoulos

Method Summary
 String getName()
           
 Status getStatus()
          Gets the Status attribute of the Cache.
 
Methods inherited from interface javax.cache.CacheStatistics
clearStatistics, getAverageGetMillis, getAveragePutMillis, getAverageRemoveMillis, getCacheEvictions, getCacheGets, getCacheHitPercentage, getCacheHits, getCacheMisses, getCacheMissPercentage, getCachePuts, getCacheRemovals, getStartAccumulationDate
 

Method Detail

getName

String getName()
Returns:
the name of the Cache these statistics are for

getStatus

Status getStatus()
Gets the Status attribute of the Cache.

Returns:
The status value from the Status enum class


Copyright © 2012. All Rights Reserved.