com.hazelcast.jmx
Class CountDownLatchMBean

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

public class CountDownLatchMBean
extends AbstractMBean<ICountDownLatch>

MBean for ICountDownLatch


Field Summary
 
Fields inherited from class com.hazelcast.jmx.AbstractMBean
logger, managementService, mbeanServer
 
Constructor Summary
CountDownLatchMBean(ICountDownLatch managedObject, ManagementService managementService)
           
 
Method Summary
 void countDown()
           
 long getCount()
           
 long getCurrentCount()
           
 Member getCurrentOwner()
           
 String getName()
           
 ObjectNameSpec getNameSpec()
          Override to provide a JMX name
 Member getOwner()
           
 
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

CountDownLatchMBean

public CountDownLatchMBean(ICountDownLatch 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<ICountDownLatch>

getName

public String getName()

getCurrentCount

public long getCurrentCount()

getCurrentOwner

public Member getCurrentOwner()

countDown

public void countDown()

getCount

public long getCount()

getOwner

public Member getOwner()


Copyright 2008-2012 Hazel Ltd. All Rights Reserved.