T - The client Snapshot type.public interface Transaction<T>
Memory object.boolean run(T data) throws Exception
data - The shared memory data.true to commit, false to rollback.Exception - Runtime exception will be propagated unchanged while checked exception will be wrapped into
InvocationException.void committed(T data) throws Exception
data - Shared memory data after commit.Exception - Runtime exception will be propagated unchanged while checked exception will be wrapped into
InvocationException.Copyright © 2013 CERN, The European Organization for Nuclear Research. All Rights Reserved.