public class ClientInfoImpl extends Object implements ClientInfo
Constructor and Description |
---|
ClientInfoImpl(Properties properties) |
ClientInfoImpl(Properties properties,
AuthenticationToken token) |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
getAuthenticationToken() |
String |
getInstanceName() |
String |
getPrincipal() |
Properties |
getProperties() |
String |
getZooKeepers() |
int |
getZooKeepersSessionTimeOut() |
boolean |
saslEnabled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from, from
public ClientInfoImpl(Properties properties)
public ClientInfoImpl(Properties properties, AuthenticationToken token)
public String getInstanceName()
getInstanceName
in interface ClientInfo
public String getZooKeepers()
getZooKeepers
in interface ClientInfo
public int getZooKeepersSessionTimeOut()
getZooKeepersSessionTimeOut
in interface ClientInfo
public String getPrincipal()
getPrincipal
in interface ClientInfo
public Properties getProperties()
getProperties
in interface ClientInfo
public AuthenticationToken getAuthenticationToken()
getAuthenticationToken
in interface ClientInfo
AuthenticationToken
used for this connectionpublic boolean saslEnabled()
saslEnabled
in interface ClientInfo
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.