Following are the cache level configurations in client.ncconf.
<cache id="demoClusteredCache" default-readthru-provider="" default-writethru-provider="" load-balance="false" enable-client-logs="False" log-level="error"> <server name="220.127.116.11"/> </cache>
These configuration tags are explained below.
When this flag is set to true, client tries to connect to the optimum server in terms of number of connected clients. This way almost equal number of clients are connected to every node in the clustered cache and no single node is overburdened. It is only used for replicated cache and has no affect if set true in case of partitioned or replicated cache.
Default Read Thru Provider
Sets the name of default ReadThru provider. Note that any configuration for readthru-provider specified through API will have the higher priority then the value in client.ncconf for that particular client.
Default Write-Thru Provider
Sets the name of default WriteThru provider. Note that any configuration for writethru-provider specified through API will have the higher priority then the value in client.ncconf for that particular client.
Enabling error logs enables the log generation for client level. By default, logging is disabled. In case of an error, it is reported in the application's Event Log in system.
Enabling error logging generates WARNING, CRITICAL ERROR and DEBUG logs.