@InterfaceAudience.Private public class AsyncCall extends io.netty.util.concurrent.DefaultPromise<com.google.protobuf.Message>
| Constructor and Description | 
|---|
| AsyncCall(io.netty.channel.EventLoop eventLoop,
         int connectId,
         com.google.protobuf.Descriptors.MethodDescriptor md,
         com.google.protobuf.Message param,
         PayloadCarryingRpcController controller,
         com.google.protobuf.Message responseDefaultType,
         MetricsConnection.CallStats callStats)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getRpcTimeout()Get the rpc timeout | 
| long | getStartTime()Get the start time | 
| void | setFailed(IOException exception)Set failed | 
| void | setSuccess(com.google.protobuf.Message value,
          CellScanner cellBlockScanner)Set success with a cellBlockScanner | 
| String | toString() | 
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, checkDeadLock, executor, getNow, isCancellable, isCancelled, isDone, isSuccess, notifyListener, removeListener, removeListeners, setFailure, setSuccess, setUncancellable, sync, syncUninterruptibly, toStringBuilder, tryFailure, trySuccesspublic AsyncCall(io.netty.channel.EventLoop eventLoop,
         int connectId,
         com.google.protobuf.Descriptors.MethodDescriptor md,
         com.google.protobuf.Message param,
         PayloadCarryingRpcController controller,
         com.google.protobuf.Message responseDefaultType,
         MetricsConnection.CallStats callStats)
eventLoop - for callconnectId - connection idmd - the method descriptorparam - parameters to send to Servercontroller - controller for responseresponseDefaultType - the default response typepublic long getStartTime()
public String toString()
toString in class io.netty.util.concurrent.DefaultPromise<com.google.protobuf.Message>public void setSuccess(com.google.protobuf.Message value,
              CellScanner cellBlockScanner)
value - to setcellBlockScanner - to setpublic void setFailed(IOException exception)
exception - to setpublic long getRpcTimeout()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.