Language
Java
Article For
4.0 4.1 4.2 5.0 5.2

Operations: How to Put Client Configuration

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

Syntax

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

Example

ClientConfiguration clientConfiguration = new ClientConfiguration
{
    MaxNumberOfRequestsPerSession = 100,
    ReadBalanceBehavior = ReadBalanceBehavior.FastestNode
};

store.Maintenance.Send(new PutClientConfigurationOperation(clientConfiguration));