InvocationService Parameters

InvocationService Parameters

Description

InvocationService service elements support the following parameters:

These settings may also be specified as part of the invocation-scheme element in the cache configuration descriptor.

Parameters

Parameter Name Value Description
<thread-count> Specifies the number of daemon threads to be used by the invocation service.

If zero, all relevant tasks are performed on the service thread.

Legal values are from positive integers or zero.

Preconfigured override is tangosol.coherence.invocation.threads

Default value is 0.
<task-hung-threshold> Specifies the amount of time in milliseconds that a task can execute before it is considered "hung". Note: a posted task that has not yet started is never considered as hung. This attribute is applied only if the Thread pool is used (the "thread-count" value is positive).
<task-timeout> Specifies the default timeout value in milliseconds for tasks that can be timed-out (e.g. implement the com.tangosol.net.PriorityTask interface), but don't explicitly specify the task execution timeout value. The task execution time is measured on the server side and does not include the time spent waiting in a service backlog queue before being started. This attribute is applied only if the thread pool is used (the "thread-count" value is positive).

Legal values are positive integers or zero (indicating no default timeout).
<request-timeout> Specifies the default timeout value in milliseconds for requests that can time-out (e.g. implement the com.tangosol.net.PriorityTask interface), but don't explicitly specify the request timeout value. The request time is measured on the client side as the time elapsed from the moment a request is sent for execution to the corresponding server node(s) and includes the following:

(1) the time it takes to deliver the request to an executing node (server);
(2) the interval between the time the task is received and placed into a service queue until the execution starts;
(3) the task execution time;
(4) the time it takes to deliver a result back to the client.

Legal values are positive integers or zero (indicating no default timeout).