Uses of Interface
io.oxia.client.api.SharedResources.Builder
Packages that use SharedResources.Builder
Package
Description
The public API for interacting with Oxia.
-
Uses of SharedResources.Builder in io.oxia.client.api
Methods in io.oxia.client.api that return SharedResources.BuilderModifier and TypeMethodDescriptionSharedResources.Builder.authentication(Authentication authentication) Configure the authentication used by the shared connections.SharedResources.Builder.batchingThreads(int batchingThreads) Set the number of shared batch-assembly threads (reads and writes each get this many).static SharedResources.BuilderSharedResources.builder()Create a new builder for aSharedResourcespool.SharedResources.Builder.connectionBackoff(Duration minDelay, Duration maxDelay) Configure the connection backoff policy for the shared connections.SharedResources.Builder.connectionKeepAliveTime(Duration keepAliveTime) Configure the keep-alive interval for the shared connections.SharedResources.Builder.connectionKeepAliveTimeout(Duration keepAliveTimeout) Configure the keep-alive timeout for the shared connections.SharedResources.Builder.enableTls(boolean enableTls) Configure whether to enable TLS for the shared connections.SharedResources.Builder.maxConnectionPerNode(int connections) Configure the maximum number of shared connections to each Oxia server node.SharedResources.Builder.numWorkerThreads(int numWorkerThreads) Set the number of threads in the shared background thread pool.SharedResources.Builder.openTelemetry(OpenTelemetry openTelemetry) Configure the OpenTelemetry instance used for shared-resource metrics. -
Uses of SharedResources.Builder in io.oxia.client.internal
Methods in io.oxia.client.internal that return SharedResources.BuilderModifier and TypeMethodDescriptionstatic SharedResources.BuilderDefaultImplementation.getSharedResourcesBuilder()Access the actual implementation of theSharedResources.Builder.