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.MainThreadExecutor
log, 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, runAsyncWithoutFencing
callAsync, closeAsync, getAddress, getEndpointId, getHostname, getRpcService, getSelfGateway, getTerminationFuture, internalCallOnStart, internalCallOnStop, isRunning, onStart, onStop, runAsync, scheduleRunAsync, scheduleRunAsync, start, stop, validateRunsInMainThread
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
protected 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–2021 The Apache Software Foundation. All rights reserved.