Interface ModelControllerClientConfiguration

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
ClientConfigurationImpl

public interface ModelControllerClientConfiguration extends Closeable
The configuration used to create the ModelControllerClient.
Author:
Emanuel Muckenhuber
  • Method Details

    • getHost

      String getHost()
      Get the address of the remote host.
      Returns:
      the host name
    • getPort

      int getPort()
      Get the port of the remote host.
      Returns:
      the port number
    • getProtocol

      String getProtocol()
      Returns the requested protocol. If this is null the remoting protocol will be used. If this is http or https then HTTP upgrade will be used.
    • getConnectionTimeout

      int getConnectionTimeout()
      Get the connection timeout when trying to connect to the server.
      Returns:
      the connection timeout
    • getCallbackHandler

      CallbackHandler getCallbackHandler()
      Get the security callback handler.
      Returns:
      the callback handler
    • getSaslOptions

      Map<String,String> getSaslOptions()
      Get the sasl options.
      Returns:
      the sasl options
    • getSSLContext

      @Deprecated(forRemoval=true) SSLContext getSSLContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the SSLContext.
      Returns:
      the SSLContext.
    • getSslContextFactory

      SecurityFactory<SSLContext> getSslContextFactory()
      Get the factory to access the SSLContext.
      Returns:
      the factory to access the SSLContext.
    • getExecutor

      ExecutorService getExecutor()
      Get the executor service used for the controller client.
      Returns:
      the executor service
    • getClientBindAddress

      String getClientBindAddress()
      Get the bind address used for the controller client.
      Returns:
      the bind address
    • getAuthenticationConfigUri

      @Deprecated default URI getAuthenticationConfigUri()
      Deprecated.
      this may be removed in a future release in favor of creating an AuthenticationContext and using a ContextualModelControllerClient
      Specifies the URI for the authentication configuration.
      Returns:
      the location to the authentication configuration file or null to use auto discovery