com.hazelcast.jmx
Class SemaphoreMBean
java.lang.Object
com.hazelcast.jmx.HazelcastMBean<ISemaphore>
com.hazelcast.jmx.SemaphoreMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration
public class SemaphoreMBean
- extends HazelcastMBean<ISemaphore>
Management bean for ISemaphore
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 |
SemaphoreMBean
protected SemaphoreMBean(ISemaphore managedObject,
ManagementService service)
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.