com.hazelcast.jmx
Class SemaphoreMBean
java.lang.Object
  
com.hazelcast.jmx.AbstractMBean<ISemaphore>
      
com.hazelcast.jmx.SemaphoreMBean
- All Implemented Interfaces: 
 - DynamicMBean, MBeanRegistration
 
public class SemaphoreMBean
- extends AbstractMBean<ISemaphore>
 
MBean for ISemaphore
 
 
 
 
| 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 | 
 
SemaphoreMBean
public SemaphoreMBean(ISemaphore managedObject,
                      ManagementService managementService)
getNameSpec
public ObjectNameSpec getNameSpec()
- Description copied from class: 
AbstractMBean 
- Override to provide a JMX name
- Overrides:
 getNameSpec in class AbstractMBean<ISemaphore>
 
 
 
getCurrentPermits
public long getCurrentPermits()
 
getName
public String getName()
 
available
public int available()
 
drain
public int drain()
 
reduce
public void reduce(int reduction)
 
release
public void release(int permits)
 
Copyright © 2008-2012 Hazelcast, Inc. All Rights Reserved.