Uses of Interface
io.oxia.client.api.OxiaClientBuilder
Packages that use OxiaClientBuilder
-
Uses of OxiaClientBuilder in io.oxia.client.api
Methods in io.oxia.client.api that return OxiaClientBuilderModifier and TypeMethodDescriptionOxiaClientBuilder.authentication(Authentication authentication) Configure the authentication plugin and its parameters.OxiaClientBuilder.authentication(String authPluginClassName, String authParamsString) Configure the authentication plugin and its parameters.OxiaClientBuilder.batchLinger(Duration batchLinger) Specify the maximum time to wait for a batch to be sent.OxiaClientBuilder.clientIdentifier(String clientIdentifier) Specify the client identifier for this client instance.OxiaClientBuilder.clientIdentifier(Supplier<String> clientIdentifier) Specify the client identifier for this client instance.OxiaClientBuilder.connectionBackoff(Duration minDelay, Duration maxDelay) Configure the connection backoff policy.OxiaClientBuilder.connectionKeepAliveTime(Duration connectionKeepAlive) Configure the keep alive interval for the connection.OxiaClientBuilder.connectionKeepAliveTimeout(Duration connectionKeepAliveTimeout) Configure the keep alive timeout for the connection.static OxiaClientBuilderCreate a new client builder.OxiaClientBuilder.enableTls(boolean enableTls) Configures whether to enable TLS (Transport Layer Security) for the client connection.OxiaClientBuilder.loadConfig(File configFile) Load the configuration from the specified configuration file.OxiaClientBuilder.loadConfig(String configPath) Load the configuration from the specified configuration file.OxiaClientBuilder.loadConfig(Properties properties) Load the configuration from the specified properties.OxiaClientBuilder.maxConnectionPerNode(int connections) Configure the maximum number of connections to each Oxia server node.OxiaClientBuilder.maxRequestsPerBatch(int maxRequestsPerBatch) Specify the maximum number of requests to include in a batch.Specify the Oxia namesace to use for this client instance.OxiaClientBuilder.openTelemetry(io.opentelemetry.api.OpenTelemetry openTelemetry) Specify the OpenTelemetry instance to use for this client instance.OxiaClientBuilder.requestTimeout(Duration requestTimeout) Specify a custom timeout for all requests.OxiaClientBuilder.sessionTimeout(Duration sessionTimeout) Specify the session timeout for this client instance.