com.hazelcast.client
Class AtomicNumberClientProxy

java.lang.Object
  extended by com.hazelcast.client.AtomicNumberClientProxy
All Implemented Interfaces:
AtomicNumber, Instance

public class AtomicNumberClientProxy
extends Object
implements AtomicNumber


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hazelcast.core.Instance
Instance.InstanceType
 
Constructor Summary
AtomicNumberClientProxy(HazelcastClient hazelcastClient, String name)
           
 
Method Summary
 long addAndGet(long delta)
           
 boolean compareAndSet(long expect, long update)
           
 long decrementAndGet()
           
 void destroy()
           
 long get()
           
 long getAndAdd(long delta)
           
 long getAndSet(long newValue)
           
 Object getId()
           
 Instance.InstanceType getInstanceType()
           
 LocalAtomicNumberStats getLocalAtomicNumberStats()
           
 String getName()
           
 long incrementAndGet()
           
 void lazySet(long newValue)
          Deprecated. 
 void set(long newValue)
           
 boolean weakCompareAndSet(long expect, long update)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomicNumberClientProxy

public AtomicNumberClientProxy(HazelcastClient hazelcastClient,
                               String name)
Method Detail

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.