com.hazelcast.jmx
Class SemaphoreMBean

java.lang.Object
  extended by com.hazelcast.jmx.HazelcastMBean<ISemaphore>
      extended by com.hazelcast.jmx.SemaphoreMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration

public class SemaphoreMBean
extends HazelcastMBean<ISemaphore>

Management bean for ISemaphore


Field Summary
 
Fields inherited from class com.hazelcast.jmx.HazelcastMBean
attributeMap, operationMap
 
Constructor Summary
protected SemaphoreMBean(ISemaphore managedObject, ManagementService service)
           
 
Method Summary
 int drain()
           
 int getAvailable()
           
 String getName()
           
 String getPartitionKey()
           
 void reduce(int reduction)
           
 void release(int permits)
           
 
Methods inherited from class com.hazelcast.jmx.HazelcastMBean
getAttribute, getAttributes, getMBeanInfo, invoke, postDeregister, postRegister, preDeregister, preRegister, register, setAttribute, setAttributes, setObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemaphoreMBean

protected SemaphoreMBean(ISemaphore managedObject,
                         ManagementService service)
Method Detail

getName

public String getName()

getAvailable

public int getAvailable()

drain

public int drain()

reduce

public void reduce(int reduction)

release

public void release(int permits)

getPartitionKey

public String getPartitionKey()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.