public void sendContinuationMessage(AtomicOperation operation) {
Environment environment = Environment.getCurrent();
MessageSession messageSession = environment.get(MessageSession.class);
Message asyncMessage = operation.createAsyncMessage(this);
lock("async continuation message "+asyncMessage);
messageSession.send(asyncMessage);
}
public void performAtomicOperationSync(AtomicOperation operation) {
if (atomicOperations==null) {
atomicOperations = new LinkedList<AtomicOperation>();