|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.instance.AbstractMember
public abstract class AbstractMember
Field Summary | |
---|---|
protected Address |
address
|
protected Map<String,Object> |
attributes
|
protected String |
uuid
|
Constructor Summary | |
---|---|
protected |
AbstractMember()
|
protected |
AbstractMember(AbstractMember member)
|
protected |
AbstractMember(Address address)
|
protected |
AbstractMember(Address address,
String uuid)
|
protected |
AbstractMember(Address address,
String uuid,
Map<String,Object> attributes)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Address |
getAddress()
|
protected Object |
getAttribute(String key)
|
Map<String,Object> |
getAttributes()
Returns configured attributes for this member. This method might not be available on all native clients. |
InetAddress |
getInetAddress()
|
InetSocketAddress |
getInetSocketAddress()
Returns the InetSocketAddress of this member. |
protected abstract ILogger |
getLogger()
|
int |
getPort()
|
InetSocketAddress |
getSocketAddress()
Returns the socket address of this member. |
String |
getUuid()
Returns the UUID of this member. |
int |
hashCode()
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream |
String |
toString()
|
void |
updateAttribute(MemberAttributeOperationType operationType,
String key,
Object value)
|
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 |
Methods inherited from interface com.hazelcast.core.Member |
---|
getBooleanAttribute, getByteAttribute, getDoubleAttribute, getFloatAttribute, getIntAttribute, getLongAttribute, getShortAttribute, getStringAttribute, localMember, removeAttribute, setBooleanAttribute, setByteAttribute, setDoubleAttribute, setFloatAttribute, setIntAttribute, setLongAttribute, setShortAttribute, setStringAttribute |
Field Detail |
---|
protected final Map<String,Object> attributes
protected Address address
protected String uuid
Constructor Detail |
---|
protected AbstractMember()
protected AbstractMember(Address address)
protected AbstractMember(Address address, String uuid)
protected AbstractMember(Address address, String uuid, Map<String,Object> attributes)
protected AbstractMember(AbstractMember member)
Method Detail |
---|
public Address getAddress()
public int getPort()
public InetAddress getInetAddress()
protected abstract ILogger getLogger()
public InetSocketAddress getInetSocketAddress()
Member
getInetSocketAddress
in interface Member
public InetSocketAddress getSocketAddress()
Member
getSocketAddress
in interface Endpoint
getSocketAddress
in interface Member
public String getUuid()
Member
getUuid
in interface Endpoint
getUuid
in interface Member
public Map<String,Object> getAttributes()
Member
getAttributes
in interface Member
public void updateAttribute(MemberAttributeOperationType operationType, String key, Object value)
protected Object getAttribute(String key)
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- input
IOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- output
IOException
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |