Class JGroupsAddress

  • All Implemented Interfaces:
    java.lang.Comparable<Address>, Address
    Direct Known Subclasses:
    JGroupsTopologyAwareAddress

    public class JGroupsAddress
    extends java.lang.Object
    implements Address
    An encapsulation of a JGroups Address
    Since:
    4.0
    Author:
    Manik Surtani
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.jgroups.Address address  
    • Constructor Summary

      Constructors 
      Constructor Description
      JGroupsAddress​(org.jgroups.Address address)  
    • Field Detail

      • address

        protected final org.jgroups.Address address
    • Constructor Detail

      • JGroupsAddress

        public JGroupsAddress​(org.jgroups.Address address)
    • 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
      • toString

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

        public org.jgroups.Address getJGroupsAddress()
      • compareTo

        public int compareTo​(Address o)
        Specified by:
        compareTo in interface java.lang.Comparable<Address>