Java API
Java API
Is this member older, has been part of cluster longer, than another member.
Is this member older, has been part of cluster longer, than another member. It is only correct when comparing two existing members in a cluster. A member that joined after removal of another member may be considered older than the removed member.
Note that it only makes sense to compare with other members of
same data center (upNumber has a higher risk of being reused across data centers).
To avoid mistakes of comparing members of different data centers this
method will throw IllegalArgumentException
if the members belong
to different data centers.
Represents the address, current status, and roles of a cluster member node.
Note:
hashCode
andequals
are solely based on the underlyingAddress
, not itsMemberStatus
and roles.