public interface TxCallback<T>
BoxStore.runInTxAsync(Runnable, TxCallback) and
BoxStore.callInTxAsync(Callable, TxCallback).| Modifier and Type | Method and Description |
|---|---|
void |
txFinished(T result,
java.lang.Throwable error)
Called when an asynchronous transaction finished.
|
void txFinished(@Nullable
T result,
@Nullable
java.lang.Throwable error)
result - Result of the callable BoxStore.callInTxAsync(Callable, TxCallback)error - non-null if an exception was thrown