Package kvd.client
Class KvdClientBuilder
java.lang.Object
kvd.client.KvdClientBuilder
Use this builder to construct a
KvdClient
instance when you need to set configuration options
other than the default. Anticipating more options in the future.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate the KvdClient connecting to the given server.setServerTimeoutSeconds
(int serverTimeoutSeconds) setSocketSoTimeoutMs
(int socketSoTimeoutMs) setTransactionDefaultTimeoutMs
(long transactionDefaultTimeoutMs) Set the default transaction timeout in milliseconds, 0 means no timeout.
-
Constructor Details
-
KvdClientBuilder
public KvdClientBuilder()
-
-
Method Details
-
setTransactionDefaultTimeoutMs
Set the default transaction timeout in milliseconds, 0 means no timeout. -
setSocketSoTimeoutMs
-
setServerTimeoutSeconds
-
create
Create the KvdClient connecting to the given server.
-