com.hazelcast.concurrent.atomicreference
Class ReferenceWrapper

java.lang.Object
  extended by com.hazelcast.concurrent.atomicreference.ReferenceWrapper

public class ReferenceWrapper
extends Object


Constructor Summary
ReferenceWrapper()
           
 
Method Summary
 boolean compareAndSet(Data expect, Data value)
           
 boolean contains(Data expected)
           
 Data get()
           
 Data getAndSet(Data value)
           
 boolean isNull()
           
 void set(Data value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceWrapper

public ReferenceWrapper()
Method Detail

get

public Data get()

set

public void set(Data value)

compareAndSet

public boolean compareAndSet(Data expect,
                             Data value)

contains

public boolean contains(Data expected)

getAndSet

public Data getAndSet(Data value)

isNull

public boolean isNull()


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