|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.jmx.AbstractMBean<ISemaphore>
com.hazelcast.jmx.SemaphoreMBean
public class SemaphoreMBean
MBean for ISemaphore
| Field Summary |
|---|
| Fields inherited from class com.hazelcast.jmx.AbstractMBean |
|---|
logger, managementService, mbeanServer |
| Constructor Summary | |
|---|---|
SemaphoreMBean(ISemaphore managedObject,
ManagementService managementService)
|
|
| Method Summary | |
|---|---|
int |
available()
|
int |
drain()
|
long |
getCurrentPermits()
|
java.lang.String |
getName()
|
ObjectNameSpec |
getNameSpec()
Override to provide a JMX name |
void |
reduce(int reduction)
|
void |
release(int permits)
|
| 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 |
|---|
public SemaphoreMBean(ISemaphore managedObject,
ManagementService managementService)
| Method Detail |
|---|
public ObjectNameSpec getNameSpec()
AbstractMBean
getNameSpec in class AbstractMBean<ISemaphore>public long getCurrentPermits()
public java.lang.String getName()
public int available()
public int drain()
public void reduce(int reduction)
public void release(int permits)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||