F
- type of the fencing tokenP
- type of the payloadpublic class RemoteFencedMessage<F extends Serializable,P extends Serializable> extends Object implements FencedMessage<F,P>, Serializable
FencedMessage
implementation. This message is used when the communication is
remote and thus requires its payload to be serializable.Constructor and Description |
---|
RemoteFencedMessage(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 extends Serializable>
public P getPayload()
getPayload
in interface FencedMessage<F extends Serializable,P extends Serializable>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.