com.hazelcast.cluster
Class MemberInfo

java.lang.Object
  extended by com.hazelcast.cluster.MemberInfo
All Implemented Interfaces:
DataSerializable

public class MemberInfo
extends Object
implements DataSerializable


Constructor Summary
MemberInfo()
           
MemberInfo(Address address)
           
MemberInfo(Address address, String uuid, Map<String,Object> attributes)
           
MemberInfo(MemberImpl member)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemberInfo

public MemberInfo()

MemberInfo

public MemberInfo(Address address)

MemberInfo

public MemberInfo(Address address,
                  String uuid,
                  Map<String,Object> attributes)

MemberInfo

public MemberInfo(MemberImpl member)
Method Detail

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.