com.hazelcast.client
Class AtomicNumberClientProxy
java.lang.Object
com.hazelcast.client.AtomicNumberClientProxy
- All Implemented Interfaces:
- AtomicNumber, Instance
public class AtomicNumberClientProxy
- extends Object
- implements AtomicNumber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicNumberClientProxy
public AtomicNumberClientProxy(HazelcastClient hazelcastClient,
String name)
addAndGet
public long addAndGet(long delta)
- Specified by:
addAndGet in interface AtomicNumber
compareAndSet
public boolean compareAndSet(long expect,
long update)
- Specified by:
compareAndSet in interface AtomicNumber
decrementAndGet
public long decrementAndGet()
- Specified by:
decrementAndGet in interface AtomicNumber
get
public long get()
- Specified by:
get in interface AtomicNumber
getAndAdd
public long getAndAdd(long delta)
- Specified by:
getAndAdd in interface AtomicNumber
getAndSet
public long getAndSet(long newValue)
- Specified by:
getAndSet in interface AtomicNumber
incrementAndGet
public long incrementAndGet()
- Specified by:
incrementAndGet in interface AtomicNumber
set
public void set(long newValue)
- Specified by:
set in interface AtomicNumber
destroy
public void destroy()
- Specified by:
destroy in interface Instance
getId
public Object getId()
- Specified by:
getId in interface Instance
getInstanceType
public Instance.InstanceType getInstanceType()
- Specified by:
getInstanceType in interface Instance
getName
public String getName()
- Specified by:
getName in interface AtomicNumber
weakCompareAndSet
@Deprecated
public boolean weakCompareAndSet(long expect,
long update)
- Deprecated.
- Specified by:
weakCompareAndSet in interface AtomicNumber
lazySet
@Deprecated
public void lazySet(long newValue)
- Deprecated.
- Specified by:
lazySet in interface AtomicNumber
getLocalAtomicNumberStats
public LocalAtomicNumberStats getLocalAtomicNumberStats()
- Specified by:
getLocalAtomicNumberStats in interface AtomicNumber
Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.