Package alluxio.uri
Class SingleMasterAuthority
- java.lang.Object
-
- alluxio.uri.SingleMasterAuthority
-
public class SingleMasterAuthority extends java.lang.Object implements Authority
A single master authority implementation.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface alluxio.uri.Authority
LOG, LOGICAL_MASTER_AUTH, LOGICAL_ZOOKEEPER_AUTH, MULTI_MASTERS_AUTH, SINGLE_MASTER_AUTH, ZOOKEEPER_AUTH
-
-
Constructor Summary
Constructors Constructor Description SingleMasterAuthority(java.lang.String host, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getHost()
int
getPort()
int
hashCode()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-