public class MemberInfo extends Object implements DataSerializable
Constructor and Description |
---|
MemberInfo() |
MemberInfo(Address address) |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes) |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes,
boolean liteMember) |
MemberInfo(MemberImpl member) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Address |
getAddress() |
Map<String,Object> |
getAttributes() |
String |
getUuid() |
int |
hashCode() |
boolean |
isLiteMember() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public MemberInfo()
public MemberInfo(Address address)
public MemberInfo(Address address, String uuid, Map<String,Object> attributes, boolean liteMember)
public MemberInfo(MemberImpl member)
public Address getAddress()
public String getUuid()
public boolean isLiteMember()
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
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.