public class MemberInfo extends Object implements IdentifiedDataSerializable, Versioned
Constructor and Description |
---|
MemberInfo() |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes,
boolean liteMember,
MemberVersion version,
int memberListJoinVersion,
Map<EndpointQualifier,Address> addressMap) |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes,
boolean liteMember,
MemberVersion version,
Map<EndpointQualifier,Address> addressMap) |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes,
MemberVersion version) |
MemberInfo(MemberImpl member) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Address |
getAddress() |
Map<EndpointQualifier,Address> |
getAddressMap() |
Map<String,Object> |
getAttributes() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
int |
getMemberListJoinVersion() |
String |
getUuid() |
MemberVersion |
getVersion() |
int |
hashCode() |
boolean |
isLiteMember() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
MemberImpl |
toMember() |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public MemberInfo()
public MemberInfo(Address address, String uuid, Map<String,Object> attributes, MemberVersion version)
public MemberInfo(Address address, String uuid, Map<String,Object> attributes, boolean liteMember, MemberVersion version, Map<EndpointQualifier,Address> addressMap)
public MemberInfo(Address address, String uuid, Map<String,Object> attributes, boolean liteMember, MemberVersion version, int memberListJoinVersion, Map<EndpointQualifier,Address> addressMap)
public MemberInfo(MemberImpl member)
public Address getAddress()
public MemberVersion getVersion()
public String getUuid()
public boolean isLiteMember()
public int getMemberListJoinVersion()
public Map<EndpointQualifier,Address> getAddressMap()
public MemberImpl toMember()
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
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
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.