Uses of Class
org.voltdb.client.Client2Config
Packages that use Client2Config
-
Uses of Client2Config in org.voltdb.client
Methods in org.voltdb.client that return Client2ConfigModifier and TypeMethodDescriptionClient2Config.authenticatedSubject
(Subject subject) Sets the authenticated subject to be used for connections to VoltDB.Client2Config.clientRequestBackpressureLevel
(int warning, int resume) Sets levels for controlling backpressure notifications.Client2Config.clientRequestLimit
(int limit) Sets the limit on the number of requests that can be pending in a client at any one time.Client2Config.connectFailureHandler
(Client2Notification.ConnectionStatus handler) Registers a handler for connection-establishment failures.Client2Config.connectionDownHandler
(Client2Notification.ConnectionStatus handler) Registers a handler for connection-down events.Client2Config.connectionResponseTimeout
(long timeout, TimeUnit unit) Sets the connection response timeout.Client2Config.connectionSetupTimeout
(long timeout, TimeUnit unit) Sets the timeout for connection setup, including authentication to the server.Client2Config.connectionUpHandler
(Client2Notification.ConnectionStatus handler) Registers a handler for connection-up events.Client2Config.defaultTrustStore()
Configures trust store for TLS/SSL using installation defaults.Client2Config.disableConnectionMgmt()
Disable automatic connection management.Client2Config.enableSSL()
Enables TLS/SSL for server connections.Client2Config.enableSSLHostCheck()
If TLS/SSL is enabled, this enables verification of the host identification (either dnsName or IP address) in the X.509 certificate's SubjectAlternativeName extension.Client2Config.errorLogHandler
(Client2Notification.ErrorLog handler) Registers an error-log handler.Client2Config.hashedPassword
(String password) Set hashed password for connections to VoltDB.Client2Config.hashedPassword
(String password, org.voltdb.client.ClientAuthScheme hashScheme) Set hashed password for connections to VoltDB.Client2Config.lateResponseHandler
(Client2Notification.LateResponse handler) Registers a handler for late server responses.Client2Config.loginContext
(String name) Creates a new login context and authenticates the user, then adds the authenticated subject to this client configuration.Client2Config.networkBackpressureLevel
(int level) This setting controls the maximum number of requests that the Client2 API can have queued at the VoltDB network layer for a single connection.Client2Config.outstandingTransactionLimit
(int limit) Sets the limit on the number of transactions that can be outstanding at the VoltDB server at any one time.Set cleartext password for connections to VoltDB.Client2Config.procedureCallTimeout
(long timeout, TimeUnit unit) Sets the timeout for procedure calls.Client2Config.reconnectDelay
(long initialDelay, long retryDelay, TimeUnit unit) Sets delay times for attempts to reconnect failed connections.Client2Config.requestBackpressureHandler
(Client2Notification.RequestBackpressure handler) Registers a handler to be notified about changes in request backpressure.Client2Config.requestPriority
(int prio) Sets the default priority for procedure calls from aClient2
created using this configuration.Client2Config.responseExecutorService
(ExecutorService execService, boolean stopOnClose) Provides anExecutorService
with which to completecallProcedure
requests.Client2Config.responseThreadCount
(int count) Sets the fixed number of 'response' threads to be available in the pool of such threads.Client2Config.roundingMode
(boolean enable, RoundingMode mode) Enables or disables the rounding mode in the client.Client2Config.transactionRateLimit
(int tpsLimit) Limits the rate at which transactions can be queued for transmission to the VoltDB server.Client2Config.trustStore
(String path, String password) Configures trust store for TLS/SSL using a specified trust store file and an optional password.Client2Config.trustStoreFromFile
(String path) A generalized routine to configire a TLS/SSL trust store from a specified file.Client2Config.trustStoreFromPropertyFile
(String path) Configure a TLS/SSL trust store via a property file.Set username for connections to VoltDB.Methods in org.voltdb.client with parameters of type Client2ConfigModifier and TypeMethodDescriptionstatic Client2
ClientFactory.createClient
(Client2Config config) Create a "version 2" client,Client2
.