javax.cache
Interface CacheMXBean


@MXBean
public interface CacheMXBean

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=Cache

Required Attributes:

Since:
1.0
Author:
Greg Luck, Yannis Cosmadopoulos

Method Summary
 String getName()
           
 Status getStatus()
          Gets the Status attribute of the Cache.
 

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 © 2013. All Rights Reserved.