public class AccumuloServerContext extends ClientContext
conn, inst
Constructor and Description |
---|
AccumuloServerContext(ServerConfigurationFactory confFactory)
Construct a server context from the server's configuration
|
AccumuloServerContext(ServerConfigurationFactory confFactory,
AuthenticationTokenSecretManager secretManager)
Construct a server context from the server's configuration
|
Modifier and Type | Method and Description |
---|---|
Connector |
getConnector() |
SaslServerConnectionParams |
getSaslParams() |
AuthenticationTokenSecretManager |
getSecretManager() |
ServerConfigurationFactory |
getServerConfigurationFactory()
Retrieve the configuration factory used to construct this context
|
SslConnectionParams |
getServerSslParams()
Retrieve the SSL/TLS configuration for starting up a listening service
|
ThriftServerType |
getThriftServerType()
Determine the type of Thrift server to instantiate given the server's configuration.
|
void |
setSecretManager(AuthenticationTokenSecretManager secretManager) |
convertClientConfig, getClientSslParams, getClientTimeoutInMillis, getConfiguration, getCredentials, getInstance, rpcCreds, setCredentials
public AccumuloServerContext(ServerConfigurationFactory confFactory)
public AccumuloServerContext(ServerConfigurationFactory confFactory, AuthenticationTokenSecretManager secretManager)
public ServerConfigurationFactory getServerConfigurationFactory()
public SslConnectionParams getServerSslParams()
public SaslServerConnectionParams getSaslParams()
getSaslParams
in class ClientContext
public ThriftServerType getThriftServerType()
ThriftServerType
value to denote the type of Thrift server to constructpublic void setSecretManager(AuthenticationTokenSecretManager secretManager)
public AuthenticationTokenSecretManager getSecretManager()
public Connector getConnector() throws AccumuloException, AccumuloSecurityException
getConnector
in class ClientContext
AccumuloException
AccumuloSecurityException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.