public class TransactionClosure<T,V> extends TransactionAdapter<T>
TransactionAdapter with ability to return result of type V.| Constructor and Description |
|---|
TransactionClosure() |
public V getResult()
It doesn't matter if transaction succeeds or fails, this can be used in either case.
protected void setResult(V result)
result - The result of the transaction execution.Copyright © 2013 CERN, The European Organization for Nuclear Research. All Rights Reserved.