use of com.hazelcast.concurrent.atomiclong.AtomicLongContainer in project hazelcast by hazelcast.
the class CompareAndSetOperation method run.
@Override
public void run() throws Exception {
AtomicLongContainer atomicLongContainer = getLongContainer();
returnValue = atomicLongContainer.compareAndSet(expect, update);
shouldBackup = returnValue;
}
use of com.hazelcast.concurrent.atomiclong.AtomicLongContainer in project hazelcast by hazelcast.
the class GetAndAddOperation method run.
@Override
public void run() throws Exception {
AtomicLongContainer atomicLongContainer = getLongContainer();
returnValue = atomicLongContainer.getAndAdd(delta);
}
use of com.hazelcast.concurrent.atomiclong.AtomicLongContainer in project hazelcast by hazelcast.
the class SetBackupOperation method run.
@Override
public void run() throws Exception {
AtomicLongContainer atomicLongContainer = getLongContainer();
atomicLongContainer.set(newValue);
}
use of com.hazelcast.concurrent.atomiclong.AtomicLongContainer in project hazelcast by hazelcast.
the class SetOperation method run.
@Override
public void run() throws Exception {
AtomicLongContainer atomicLongContainer = getLongContainer();
atomicLongContainer.set(newValue);
}
use of com.hazelcast.concurrent.atomiclong.AtomicLongContainer in project hazelcast by hazelcast.
the class AddAndGetOperation method run.
@Override
public void run() throws Exception {
AtomicLongContainer atomicLongContainer = getLongContainer();
returnValue = atomicLongContainer.addAndGet(delta);
}
Aggregations