com.hazelcast.cluster
public class MemberInfo extends Object implements DataSerializable
Constructor and Description |
---|
MemberInfo() |
MemberInfo(Address address) |
MemberInfo(Address address,
String uuid,
Map<String,Object> attributes) |
MemberInfo(MemberImpl member) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Address |
getAddress() |
Map<String,Object> |
getAttributes() |
String |
getUuid() |
int |
hashCode() |
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(MemberImpl member)
public Address getAddress()
public String getUuid()
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 © 2015 Hazelcast, Inc.. All Rights Reserved.