Uses of Interface
io.oxia.client.api.OxiaClientBuilder
Packages that use OxiaClientBuilder
Package
Description
The public API for interacting with Oxia.
-
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.batchingThreads(int batchingThreads) Specify the number of threads dedicated to assembling operation batches, shared by all the shards.OxiaClientBuilder.batchLinger(Duration batchLinger) Deprecated, for removal: This API element is subject to removal in a future version.Batching is adaptive: operations are grouped while a batch is in progress and a batch is flushed as soon as no more operations are pending, so this setting has no effect.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.maxPendingBytes(long maxPendingBytes) Specify the maximum total size of the operations that the client has accepted and not yet completed.OxiaClientBuilder.maxReadBatchesInFlight(int maxReadBatchesInFlight) Specify the maximum number of read batches that can be in flight to the server for each shard.OxiaClientBuilder.maxRequestsPerBatch(int maxRequestsPerBatch) Specify the maximum number of requests to include in a batch.OxiaClientBuilder.maxWriteBatchesInFlight(int maxWriteBatchesInFlight) Specify the maximum number of write batches that can be in flight to the server for each shard.Specify the Oxia namesace to use for this client instance.OxiaClientBuilder.openTelemetry(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.OxiaClientBuilder.sharedResources(SharedResources sharedResources) Build this client on top of a sharedSharedResourcespool. -
Uses of OxiaClientBuilder in io.oxia.client.internal
Methods in io.oxia.client.internal that return OxiaClientBuilderModifier and TypeMethodDescriptionstatic OxiaClientBuilderDefaultImplementation.getDefaultImplementation(String serviceAddress) Access the actual implementation of the Oxia Client API.