Package alluxio.uri
Class ZookeeperAuthority
- java.lang.Object
-
- alluxio.uri.ZookeeperAuthority
-
public final class ZookeeperAuthority extends java.lang.Object implements Authority
ZookeeperAuthority
supports authority containing Zookeeper addresses.- 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 ZookeeperAuthority(java.lang.String zkAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getZookeeperAddress()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getZookeeperAddress
public java.lang.String getZookeeperAddress()
- Returns:
- the Zookeeper address in 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
-
-