Put Client Configuration Operation
(for database)

PutClientConfigurationOperation is used to save a client configuration on the server. It allows you to override client's settings remotely.

Syntax

PutClientConfigurationCommand(ClientConfiguration configuration)
Return Value
configuration ClientConfiguration configuration which will be used by client API

Example

ClientConfiguration clientConfiguration = new ClientConfiguration();
clientConfiguration.setMaxNumberOfRequestsPerSession(100);
clientConfiguration.setReadBalanceBehavior(ReadBalanceBehavior.FASTEST_NODE);

store.maintenance().send(
    new PutClientConfigurationOperation(clientConfiguration));