Package io.grpc.stub

Class 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>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void interruptTask()  
      protected java.lang.String pendingToString()  
      protected boolean set​(RespT resp)  
      protected boolean setException​(java.lang.Throwable throwable)  
      • Methods inherited from class com.google.common.util.concurrent.AbstractFuture

        addListener, afterDone, cancel, get, get, isCancelled, isDone, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • interruptTask

        protected void interruptTask()
        Overrides:
        interruptTask in class com.google.common.util.concurrent.AbstractFuture<RespT>
      • set

        protected boolean set​(@Nullable
                              RespT resp)
        Overrides:
        set in class com.google.common.util.concurrent.AbstractFuture<RespT>
      • setException

        protected boolean setException​(java.lang.Throwable throwable)
        Overrides:
        setException in class com.google.common.util.concurrent.AbstractFuture<RespT>
      • pendingToString

        protected java.lang.String pendingToString()
        Overrides:
        pendingToString in class com.google.common.util.concurrent.AbstractFuture<RespT>