public class ProxyService extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReference<Semaphore> |
lookupRequestSemaphore |
| Constructor and Description |
|---|
ProxyService(ProxyConfiguration proxyConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AuthenticationService |
getAuthenticationService() |
AuthorizationService |
getAuthorizationService() |
Authentication |
getClientAuthentication() |
ProxyConfiguration |
getConfiguration() |
ConfigurationCacheService |
getConfigurationCacheService() |
BrokerDiscoveryProvider |
getDiscoveryProvider() |
Semaphore |
getLookupRequestSemaphore() |
String |
getServiceUrl() |
String |
getServiceUrlTls() |
ZooKeeperClientFactory |
getZooKeeperClientFactory() |
void |
setConfigurationCacheService(ConfigurationCacheService configurationCacheService) |
void |
start() |
protected final AtomicReference<Semaphore> lookupRequestSemaphore
public ProxyService(ProxyConfiguration proxyConfig) throws IOException
IOExceptionpublic ZooKeeperClientFactory getZooKeeperClientFactory()
public BrokerDiscoveryProvider getDiscoveryProvider()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String getServiceUrl()
public String getServiceUrlTls()
public ProxyConfiguration getConfiguration()
public AuthenticationService getAuthenticationService()
public AuthorizationService getAuthorizationService()
public Authentication getClientAuthentication()
public ConfigurationCacheService getConfigurationCacheService()
public void setConfigurationCacheService(ConfigurationCacheService configurationCacheService)
public Semaphore getLookupRequestSemaphore()
Copyright © 2017–2018 Apache Software Foundation. All rights reserved.