Interface GatewayRetriever<T extends org.apache.flink.runtime.rpc.RpcGateway>
-
- Type Parameters:
T- type of the object to retrieve
- All Known Implementing Classes:
LeaderGatewayRetriever,RpcGatewayRetriever
public interface GatewayRetriever<T extends org.apache.flink.runtime.rpc.RpcGateway>Generic retriever interface forRpcGateway.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getFuture
CompletableFuture<T> getFuture()
Get future of object to retrieve.- Returns:
- Future object to retrieve
-
-