service-guardian
Used in: cluster-config.
Description
Specifies the configuration of the service-guardians, which detect and attempt to resolve service deadlocks.
Elements
The following table describes the elements you can define within the service-guardian element.
| Element |
Required/Optional |
Description |
| <timeout-milliseconds> |
Required |
The timeout value used to guard against deadlocked or unresponsive services. It is recommended that service-guardian/timeout-milliseconds be set equal to or greater than the packet-delivery/timeout-milliseconds value. A timeout of zero will disable service guardians.
Default value is 65000.
Preconfigured override is tangosol.coherence.guard.timeout |
| <service-failure-policy> |
Required |
Specifies the action to take when an abnormally behaving service cannot be terminated gracefully by the service-guardian.
Legal values are:
- <class-name> - configuration element providing the name of a Java class that provides an implementation for the com.tangosol.net.ServiceFailurePolicy interface
- exit-cluster - cause the local node to stop the cluster services
- exit-process - cause the JVM to terminate abruptly
Default value is exit-cluster.
|
The content override attribute xml-override can be optionally used to fully or partially override the contents of this element with XML document that is external to the base document.