com.hazelcast.jmx
Class LockMBean

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

public class LockMBean
extends AbstractMBean<ILock>

MBean for Locks

Author:
Marco Ferrante, DISI - University of Genoa

Field Summary
 
Fields inherited from class com.hazelcast.jmx.AbstractMBean
logger, managementService, mbeanServer
 
Constructor Summary
LockMBean(ILock lock, ManagementService managementService)
           
 
Method Summary
 String getLockObject()
           
 String getName()
           
 ObjectNameSpec getNameSpec()
          Override to provide a JMX name
 
Methods inherited from class com.hazelcast.jmx.AbstractMBean
getAttribute, getAttributes, getManagedObject, getMBeanInfo, getObjectName, getParentName, invoke, postDeregister, postRegister, preDeregister, preRegister, refresh, setAttribute, setAttributes, setParentName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockMBean

public LockMBean(ILock lock,
                 ManagementService managementService)
Method Detail

getNameSpec

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

Overrides:
getNameSpec in class AbstractMBean<ILock>

getName

public String getName()

getLockObject

public String getLockObject()


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