com.hazelcast.cluster
Class MemberInfo
java.lang.Object
com.hazelcast.cluster.MemberInfo
- All Implemented Interfaces:
- DataSerializable
public class MemberInfo
- extends Object
- implements DataSerializable
MemberInfo
public MemberInfo()
MemberInfo
public MemberInfo(Address address)
MemberInfo
public MemberInfo(Address address,
String uuid,
Map<String,Object> attributes)
MemberInfo
public MemberInfo(MemberImpl member)
getAddress
public Address getAddress()
getUuid
public String getUuid()
getAttributes
public Map<String,Object> getAttributes()
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.