Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
PriorityProcessor is used to explicitly control the scheduling priority and timeouts for execution of IEntryProcessor -based methods.

Namespace: Tangosol.Util.Processor
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public class PriorityProcessor : AbstractPriorityTask, 
	IEntryProcessor, IPortableObject

Remarks

For example, let's assume that there is a cache that belongs to a partitioned cache service configured with a task-timeout of 5 seconds. Also assume that there is a particular PreloadRequest processor that could take much longer to complete due to a large amount of database related processing. Then we could override the default task timeout value by using the PriorityProcessor as follows:
CopyC#
PreloadRequest     procStandard = PreloadRequest.Instance;
PriorityProcessor  procPriority = new PriorityProcessor(procStandard);
procPriority.ExecutionTimeoutMillis = PriorityTaskTimeout.None;
cache.ProcessAll(keys, procPriority);
This is an advanced feature which should be used judiciously.

Inheritance Hierarchy

System..::..Object
  Tangosol.Net..::..AbstractPriorityTask
    Tangosol.Util.Processor..::..PriorityProcessor

See Also