public interface TFuture<V>
Modifier and Type | Method and Description |
---|---|
V |
get()
Waits if necessary for the transaction to be committed, and then retrieves its result.
|
boolean |
isCommitted()
Returns true if the transaction associated to this future is committed.
|
boolean |
isRollback()
Returns true if the transaction associated to this future was rolled back.
|
boolean isRollback()
boolean isCommitted()
V get()
CancellationException
- if the transaction was cancelled with rollbackExecutionException
- if the transaction threw an exception when committedInterruptedException
- if the current thread was interrupted while waitingCopyright © 2022 Kurento. All rights reserved.