use of com.hazelcast.concurrent.atomicreference.AtomicReferenceContainer in project hazelcast by hazelcast.
the class SetBackupOperation method run.
@Override
public void run() throws Exception {
AtomicReferenceContainer atomicReferenceContainer = getReferenceContainer();
atomicReferenceContainer.set(newValue);
}
use of com.hazelcast.concurrent.atomicreference.AtomicReferenceContainer in project hazelcast by hazelcast.
the class GetAndSetOperation method run.
@Override
public void run() throws Exception {
AtomicReferenceContainer atomicReferenceContainer = getReferenceContainer();
returnValue = atomicReferenceContainer.getAndSet(newValue);
}
use of com.hazelcast.concurrent.atomicreference.AtomicReferenceContainer in project hazelcast by hazelcast.
the class IsNullOperation method run.
@Override
public void run() throws Exception {
AtomicReferenceContainer atomicReferenceContainer = getReferenceContainer();
returnValue = atomicReferenceContainer.isNull();
}
use of com.hazelcast.concurrent.atomicreference.AtomicReferenceContainer in project hazelcast by hazelcast.
the class SetAndGetOperation method run.
@Override
public void run() throws Exception {
AtomicReferenceContainer atomicReferenceContainer = getReferenceContainer();
atomicReferenceContainer.getAndSet(newValue);
returnValue = newValue;
}
use of com.hazelcast.concurrent.atomicreference.AtomicReferenceContainer in project hazelcast by hazelcast.
the class SetOperation method run.
@Override
public void run() throws Exception {
AtomicReferenceContainer atomicReferenceContainer = getReferenceContainer();
atomicReferenceContainer.set(newValue);
}
Aggregations