com.hazelcast.jmx
Class MapMBean

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

public class MapMBean
extends AbstractMBean<IMap>

MBean for Map

Author:
Marco Ferrante, DISI - University of Genova

Field Summary
protected  EntryListener listener
           
 
Fields inherited from class com.hazelcast.jmx.AbstractMBean
logger, managementService, mbeanServer
 
Constructor Summary
MapMBean(IMap managedObject, ManagementService managementService)
           
 
Method Summary
protected  void addEntry(Object key)
           
 void clear()
           
 String entrySet(String query)
           
 String getConfig()
           
 String getName()
           
 ObjectNameSpec getNameSpec()
          Override to provide a JMX name
 int getSize()
           
 void postRegister(Boolean registrationDone)
          From interface MBeanRegistration
 void preDeregister()
          From interface MBeanRegistration
protected  void removeEntry(Object key)
           
 String values(String query)
           
 
Methods inherited from class com.hazelcast.jmx.AbstractMBean
getAttribute, getAttributes, getManagedObject, getMBeanInfo, getObjectName, getParentName, invoke, postDeregister, preRegister, refresh, setAttribute, setAttributes, setParentName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected EntryListener listener
Constructor Detail

MapMBean

public MapMBean(IMap managedObject,
                ManagementService managementService)
Method Detail

getNameSpec

public ObjectNameSpec getNameSpec()
Description copied from class: AbstractMBean
Override to provide a JMX name

Overrides:
getNameSpec in class AbstractMBean<IMap>

postRegister

public void postRegister(Boolean registrationDone)
Description copied from class: AbstractMBean
From interface MBeanRegistration

Specified by:
postRegister in interface MBeanRegistration
Overrides:
postRegister in class AbstractMBean<IMap>

preDeregister

public void preDeregister()
                   throws Exception
Description copied from class: AbstractMBean
From interface MBeanRegistration

Specified by:
preDeregister in interface MBeanRegistration
Overrides:
preDeregister in class AbstractMBean<IMap>
Throws:
Exception

clear

public void clear()

values

public String values(String query)

entrySet

public String entrySet(String query)

getConfig

public String getConfig()

addEntry

protected void addEntry(Object key)

removeEntry

protected void removeEntry(Object key)

getName

public String getName()

getSize

public int getSize()


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