Class MemberDescription


  • public class MemberDescription
    extends java.lang.Object
    A detailed description of a single group instance in the cluster.
    • Constructor Summary

      Constructors 
      Constructor Description
      MemberDescription​(java.lang.String memberId, java.lang.String clientId, java.lang.String host, MemberAssignment assignment)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MemberAssignment assignment()
      The assignment of the group member.
      java.lang.String clientId()
      The client id of the group member.
      java.lang.String consumerId()
      The consumer id of the group member.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String host()
      The host where the group member is running.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MemberDescription

        public MemberDescription​(java.lang.String memberId,
                                 java.lang.String clientId,
                                 java.lang.String host,
                                 MemberAssignment assignment)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • consumerId

        public java.lang.String consumerId()
        The consumer id of the group member.
      • clientId

        public java.lang.String clientId()
        The client id of the group member.
      • host

        public java.lang.String host()
        The host where the group member is running.
      • assignment

        public MemberAssignment assignment()
        The assignment of the group member.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object