public class SplitBrainJoinMessage extends JoinMessage implements Versioned
JoinMessage
issued by the master node of a subcluster to the master of another subcluster
while searching for other clusters for split brain recovery.Modifier and Type | Class and Description |
---|---|
static class |
SplitBrainJoinMessage.SplitBrainMergeCheckResult |
address, buildNumber, configCheck, dataMemberCount, liteMember, memberAddresses, memberVersion, packetVersion, uuid
Constructor and Description |
---|
SplitBrainJoinMessage() |
SplitBrainJoinMessage(byte packetVersion,
int buildNumber,
MemberVersion version,
Address address,
String uuid,
boolean liteMember,
ConfigCheck configCheck,
Collection<Address> memberAddresses,
int dataMemberCount,
Version clusterVersion,
int memberListVersion) |
Modifier and Type | Method and Description |
---|---|
Version |
getClusterVersion() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
int |
getMemberListVersion() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getAddress, getBuildNumber, getConfigCheck, getDataMemberCount, getMemberAddresses, getMemberCount, getMemberVersion, getPacketVersion, getUuid, isLiteMember
public SplitBrainJoinMessage()
public SplitBrainJoinMessage(byte packetVersion, int buildNumber, MemberVersion version, Address address, String uuid, boolean liteMember, ConfigCheck configCheck, Collection<Address> memberAddresses, int dataMemberCount, Version clusterVersion, int memberListVersion)
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class JoinMessage
in
- inputIOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class JoinMessage
out
- outputIOException
public String toString()
toString
in class JoinMessage
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
getFactoryId
in class JoinMessage
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class JoinMessage
public Version getClusterVersion()
public int getMemberListVersion()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.