com.hazelcast.jmx
Class MapEntryMBean

java.lang.Object
  extended by com.hazelcast.jmx.AbstractMBean<MapEntry>
      extended by com.hazelcast.jmx.MapEntryMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration

public class MapEntryMBean
extends AbstractMBean<MapEntry>

MBean for MapEntry

Author:
Marco Ferrante, DISI - University of Genova

Field Summary
 
Fields inherited from class com.hazelcast.jmx.AbstractMBean
logger, managementService, mbeanServer
 
Constructor Summary
MapEntryMBean(IMap map, Object key)
           
 
Method Summary
static ObjectName buildObjectName(ObjectName mapName, Object key)
           
static ObjectName buildObjectNameFilter(ObjectName mapName)
           
 long getCost()
           
 Class<?> getKeyClass()
           
 Class<?> getValueClass()
           
protected  MapEntry refresh()
          Override this method if the managed object requires some refresh before reading.
 
Methods inherited from class com.hazelcast.jmx.AbstractMBean
getAttribute, getAttributes, getManagedObject, getMBeanInfo, getNameSpec, getObjectName, getParentName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setParentName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapEntryMBean

public MapEntryMBean(IMap map,
                     Object key)
Method Detail

buildObjectName

public static ObjectName buildObjectName(ObjectName mapName,
                                         Object key)
                                  throws Exception
Throws:
Exception

buildObjectNameFilter

public static ObjectName buildObjectNameFilter(ObjectName mapName)
                                        throws Exception
Throws:
Exception

refresh

protected MapEntry refresh()
Description copied from class: AbstractMBean
Override this method if the managed object requires some refresh before reading. Return the new state/object.

Overrides:
refresh in class AbstractMBean<MapEntry>

getKeyClass

public Class<?> getKeyClass()

getValueClass

public Class<?> getValueClass()

getCost

public long getCost()


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.