com.hazelcast.jmx
Class AtomicNumberMBean
java.lang.Object
com.hazelcast.jmx.AbstractMBean<AtomicNumber>
com.hazelcast.jmx.AtomicNumberMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration
public class AtomicNumberMBean
- extends AbstractMBean<AtomicNumber>
MBean for AtomicNumber
- Author:
- Vladimir Dolzhenko, vladimir.dolzhenko@gmail.com
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 |
AtomicNumberMBean
public AtomicNumberMBean(AtomicNumber managedObject,
ManagementService managementService)
getNameSpec
public ObjectNameSpec getNameSpec()
- Description copied from class:
AbstractMBean
- Override to provide a JMX name
- Overrides:
getNameSpec
in class AbstractMBean<AtomicNumber>
getActualValue
public long getActualValue()
getName
public String getName()
get
public long get()
set
public void set(long newValue)
add
public void add(long delta)
getAdd
public long getAdd(long delta)
getSet
public long getSet(long delta)
incrementAndGet
public void incrementAndGet()
decrementAndGet
public void decrementAndGet()
reset
public void reset()
compareAndSet
public void compareAndSet(long expectedValue,
long newValue)
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.