public class SingleMasterAuthority extends Object implements Authority
LOG, LOGICAL_MASTER_AUTH, LOGICAL_ZOOKEEPER_AUTH, MULTI_MASTERS_AUTH, SINGLE_MASTER_AUTH, ZOOKEEPER_AUTH
Constructor and Description |
---|
SingleMasterAuthority(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, fromString
public SingleMasterAuthority(String host, int port)
host
- the host of this authorityport
- the port of this authoritypublic String getHost()
public int getPort()
Copyright © 2023. All Rights Reserved.