F
- type of the fencing tokenP
- type of the payloadpublic class LocalFencedMessage<F extends Serializable,P> extends Object implements FencedMessage<F,P>
FencedMessage
implementation. This message is used when the communication
is local and thus does not require its payload to be serializable.Constructor and Description |
---|
LocalFencedMessage(F fencingToken,
P payload) |
Modifier and Type | Method and Description |
---|---|
F |
getFencingToken() |
P |
getPayload() |
String |
toString() |
public F getFencingToken()
getFencingToken
in interface FencedMessage<F extends Serializable,P>
public P getPayload()
getPayload
in interface FencedMessage<F extends Serializable,P>
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.