public class JoinRequest extends JoinMessage
address, buildNumber, configCheck, dataMemberCount, liteMember, memberAddresses, memberVersion, packetVersion, uuid
Constructor and Description |
---|
JoinRequest() |
JoinRequest(byte packetVersion,
int buildNumber,
MemberVersion version,
Address address,
String uuid,
boolean liteMember,
ConfigCheck config,
Credentials credentials,
Map<String,Object> attributes,
Set<String> excludedMemberUuids,
Map<EndpointQualifier,Address> addresses) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes() |
Credentials |
getCredentials() |
Set<String> |
getExcludedMemberUuids() |
int |
getId()
Returns type identifier for this class.
|
int |
getTryCount() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setTryCount(int tryCount) |
MemberInfo |
toMemberInfo() |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getAddress, getBuildNumber, getConfigCheck, getDataMemberCount, getFactoryId, getMemberAddresses, getMemberCount, getMemberVersion, getPacketVersion, getUuid, isLiteMember
public JoinRequest()
public JoinRequest(byte packetVersion, int buildNumber, MemberVersion version, Address address, String uuid, boolean liteMember, ConfigCheck config, Credentials credentials, Map<String,Object> attributes, Set<String> excludedMemberUuids, Map<EndpointQualifier,Address> addresses)
public Credentials getCredentials()
public int getTryCount()
public void setTryCount(int tryCount)
public MemberInfo toMemberInfo()
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class JoinMessage
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class JoinMessage
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public String toString()
toString
in class JoinMessage
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class JoinMessage
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.