public class MemberInfo extends Object implements IdentifiedDataSerializable
Constructor and Description |
---|
MemberInfo() |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes,
boolean liteMember,
MemberVersion version) |
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<String,Object> |
getAttributes() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
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)
public MemberInfo(MemberImpl member)
public Address getAddress()
public MemberVersion getVersion()
public String getUuid()
public boolean isLiteMember()
public MemberImpl toMember()
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.