com.hazelcast.concurrent.atomiclong
Class LongWrapper

java.lang.Object
  extended by com.hazelcast.concurrent.atomiclong.LongWrapper

public class LongWrapper
extends Object


Constructor Summary
LongWrapper()
           
 
Method Summary
 long addAndGet(long delta)
           
 boolean compareAndSet(long expect, long value)
           
 long get()
           
 long getAndAdd(long delta)
           
 long getAndSet(long value)
           
 void set(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongWrapper

public LongWrapper()
Method Detail

get

public long get()

addAndGet

public long addAndGet(long delta)

set

public void set(long value)

compareAndSet

public boolean compareAndSet(long expect,
                             long value)

getAndAdd

public long getAndAdd(long delta)

getAndSet

public long getAndSet(long value)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.