public class ThriftListenableFuture<T>
extends com.google.common.util.concurrent.AbstractFuture<T>
implements org.apache.thrift.async.AsyncMethodCallback<T>
ListenableFuture that can be passed in as an AsyncMethodCallback
when making an asynchronous client-side Thrift RPC.| Constructor and Description |
|---|
ThriftListenableFuture() |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(T t) |
void |
onError(java.lang.Exception e) |
addListener, afterDone, cancel, get, get, interruptTask, isCancelled, isDone, pendingToString, set, setException, setFuture, toString, wasInterrupted© Copyright 2015–2018 LINE Corporation. All rights reserved.