Package io.dingodb.sdk.service.caller
Class RpcFuture<T>
java.lang.Object
io.dingodb.sdk.service.caller.RpcFuture<T>
- All Implemented Interfaces:
CompletionStage<T>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Field Details
-
future
-
listener
-
-
Constructor Details
-
RpcFuture
public RpcFuture()
-
-
Method Details
-
headers
public io.grpc.Metadata headers() -
status
public io.grpc.Status status() -
trailers
public io.grpc.Metadata trailers() -
onHeaders
public void onHeaders(io.grpc.Metadata headers) -
onMessage
-
onClose
public void onClose(io.grpc.Status status, io.grpc.Metadata trailers) -
onReady
public void onReady()
-