Package io.grpc.stub
Class ClientCalls.GrpcFuture<RespT>
- java.lang.Object
-
- com.google.common.util.concurrent.internal.InternalFutureFailureAccess
-
- com.google.common.util.concurrent.AbstractFuture<RespT>
-
- io.grpc.stub.ClientCalls.GrpcFuture<RespT>
-
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<RespT>,java.util.concurrent.Future<RespT>
- Enclosing class:
- ClientCalls
private static final class ClientCalls.GrpcFuture<RespT> extends com.google.common.util.concurrent.AbstractFuture<RespT>
-
-
Field Summary
Fields Modifier and Type Field Description private ClientCall<?,RespT>call
-
Constructor Summary
Constructors Constructor Description GrpcFuture(ClientCall<?,RespT> call)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinterruptTask()protected java.lang.StringpendingToString()protected booleanset(RespT resp)protected booleansetException(java.lang.Throwable throwable)
-
-
-
Field Detail
-
call
private final ClientCall<?,RespT> call
-
-
Constructor Detail
-
GrpcFuture
GrpcFuture(ClientCall<?,RespT> call)
-
-
Method Detail
-
interruptTask
protected void interruptTask()
- Overrides:
interruptTaskin classcom.google.common.util.concurrent.AbstractFuture<RespT>
-
set
protected boolean set(@Nullable RespT resp)- Overrides:
setin classcom.google.common.util.concurrent.AbstractFuture<RespT>
-
setException
protected boolean setException(java.lang.Throwable throwable)
- Overrides:
setExceptionin classcom.google.common.util.concurrent.AbstractFuture<RespT>
-
pendingToString
protected java.lang.String pendingToString()
- Overrides:
pendingToStringin classcom.google.common.util.concurrent.AbstractFuture<RespT>
-
-