Package alluxio.uri

Class SingleMasterAuthority

  • All Implemented Interfaces:
    Authority, java.io.Serializable, java.lang.Comparable<Authority>

    public class SingleMasterAuthority
    extends java.lang.Object
    implements Authority
    A single master authority implementation.
    See Also:
    Serialized Form
    • Constructor Detail

      • SingleMasterAuthority

        public SingleMasterAuthority​(java.lang.String host,
                                     int port)
        Parameters:
        host - the host of this authority
        port - the port of this authority
    • Method Detail

      • getHost

        public java.lang.String getHost()
        Returns:
        the host of this authority
      • getPort

        public int getPort()
        Returns:
        the port of this authority
      • 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