| Constructor and Description |
|---|
TFutureImpl(Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
V |
get()
Waits if necessary for the transaction to be committed, and then
retrieves its result.
|
com.google.common.util.concurrent.SettableFuture<V> |
getFuture() |
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.
|
public TFutureImpl(Operation operation)
public boolean isRollback()
TFutureisRollback in interface TFuture<V>public boolean isCommitted()
TFutureisCommitted in interface TFuture<V>public V get()
TFuturepublic com.google.common.util.concurrent.SettableFuture<V> getFuture()
Copyright © 2015 Kurento. All rights reserved.