F - type of the fencing token.public class PermanentlyFencedRpcEndpoint<F extends Serializable> extends FencedRpcEndpoint<F>
FencedRpcEndpoint which is fenced with a fencing token
which is bound to the lifetime of the rpc endpoint.RpcEndpoint.MainThreadExecutorlog, rpcServer| Modifier | Constructor and Description |
|---|---|
protected |
PermanentlyFencedRpcEndpoint(RpcService rpcService,
F fencingToken) |
protected |
PermanentlyFencedRpcEndpoint(RpcService rpcService,
String endpointId,
F fencingToken) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setFencingToken(F newFencingToken) |
callAsyncWithoutFencing, getFencingToken, getMainThreadExecutor, getUnfencedMainThreadExecutor, runAsyncWithoutFencingcallAsync, closeAsync, getAddress, getEndpointId, getHostname, getRpcService, getSelfGateway, getTerminationFuture, internalCallOnStart, internalCallOnStop, isRunning, onStart, onStop, runAsync, scheduleRunAsync, scheduleRunAsync, start, stop, validateRunsInMainThreadprotected PermanentlyFencedRpcEndpoint(RpcService rpcService, String endpointId, F fencingToken)
protected PermanentlyFencedRpcEndpoint(RpcService rpcService, F fencingToken)
protected void setFencingToken(@Nullable F newFencingToken)
setFencingToken in class FencedRpcEndpoint<F extends Serializable>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.