com.hazelcast.core
Interface AtomicNumber

All Superinterfaces:
Instance

public interface AtomicNumber
extends Instance

Cluster-wide atomic number. AtomicNumber is distributed implementation of java.util.concurrent.atomic.AtomicLong.

Since:
1.9

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hazelcast.core.Instance
Instance.InstanceType
 
Method Summary
 long addAndGet(long delta)
           
 boolean compareAndSet(long expect, long update)
           
 long decrementAndGet()
           
 long get()
           
 long getAndAdd(long delta)
           
 long getAndSet(long newValue)
           
 String getName()
           
 long incrementAndGet()
           
 void lazySet(long newValue)
           
 void set(long newValue)
           
 boolean weakCompareAndSet(long expect, long update)
           
 
Methods inherited from interface com.hazelcast.core.Instance
destroy, getId, getInstanceType
 

Method Detail

compareAndSet

boolean compareAndSet(long expect,
                      long update)

weakCompareAndSet

boolean weakCompareAndSet(long expect,
                          long update)

addAndGet

long addAndGet(long delta)

decrementAndGet

long decrementAndGet()

get

long get()

getAndAdd

long getAndAdd(long delta)

getAndSet

long getAndSet(long newValue)

incrementAndGet

long incrementAndGet()

lazySet

void lazySet(long newValue)

set

void set(long newValue)

getName

String getName()


Copyright .9.4-SNAPSHOT; 2008-2011 Hazel Ltd. All Rights Reserved.