T
- type of the object to retrievepublic interface GatewayRetriever<T extends RpcGateway>
RpcGateway
.Modifier and Type | Method and Description |
---|---|
CompletableFuture<T> |
getFuture()
Get future of object to retrieve.
|
default Optional<T> |
getNow()
Returns the currently retrieved gateway if there is such an object.
|
CompletableFuture<T> getFuture()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.