Class RpcGatewayRetriever<F extends Serializable,T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>>

Type Parameters:
F - type of the fencing token
T - type of the fenced gateway to retrieve
All Implemented Interfaces:
LeaderRetrievalListener, GatewayRetriever<T>

public class RpcGatewayRetriever<F extends Serializable,T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>> extends LeaderGatewayRetriever<T>
LeaderGatewayRetriever implementation using the RpcService.
  • Constructor Details

    • RpcGatewayRetriever

      public RpcGatewayRetriever(org.apache.flink.runtime.rpc.RpcService rpcService, Class<T> gatewayType, Function<UUID,F> fencingTokenMapper, org.apache.flink.util.concurrent.RetryStrategy retryStrategy)
  • Method Details