You can configure WebSphere® eXtreme Scale Client for .NET to dynamically
detect modifications that are made to the property values in the client
properties file. You do not need to restart the existing connection
to the data grid for the changes to take effect.
About this task
You can dynamically configure the requestRetryTimeout property
to specify an amount of time (in milliseconds) to continue processing
a request after an exception occurs. All of the other properties are
read-only. If you change the value of a read-only property, the changes
do not take effect and an error is written to the system log files.
Procedure
- Set the value of the enableDynamicConfiguration property
in your client properties file for WebSphere eXtreme Scale Client for .NET to true.
![[.NET programming language only]](./images/ngnet.gif)
enableDynamicConfiguration
- When set to true, any changes that are
made to the requestRetryTimeout property in the client properties
file are detected dynamically. The new property value is used immediately
to calculate the new request retry timeout value.
Default: false
- Update the value of the requestRetryTimeout property in
your client properties file.
![[Java programming language only]](./images/ngjava.gif)
requestRetryTimeout
- Specifies how long to continue processing a request (in milliseconds)
after an exception occurs. Use one of the following valid values:
- A value of 0 indicates that the request
should fail fast and skip over the internal retry logic.
- A value of -1 indicates that the request
retry timeout is not set, meaning that the request duration is governed
by the transaction timeout. (Default)
- A value over 0 indicates the request entry
timeout value in milliseconds. Exceptions that are not successfully
created are returned. Even when exceptions, such as DuplicateException,
are tried again, they are also returned when they do not succeed.
The transaction timeout is still used as the maximum time to wait.
Results
You can dynamically update the value of the requestRetryTimeout
client property without restarting the connection to the data grid.