PriorityProcessor Class |
Namespace: Tangosol.Util.Processor
public class PriorityProcessor : AbstractPriorityTask, IEntryProcessor, IPortableObject
The PriorityProcessor type exposes the following members.
| Name | Description | |
|---|---|---|
| PriorityProcessor |
Default constructor.
| |
| PriorityProcessor(IEntryProcessor) |
Construct a PriorityProcessor.
|
| Name | Description | |
|---|---|---|
| ExecutionTimeoutMillis |
The maximum amount of time this task is allowed to run before the
corresponding service will attempt to stop it.
(Inherited from AbstractPriorityTask.) | |
| Processor |
Obtain the underlying processor.
| |
| RequestTimeoutMillis |
The maximum amount of time a calling thread is willing to wait
for a result of the request execution.
(Inherited from AbstractPriorityTask.) | |
| SchedulingPriority |
This task's scheduling priority.
(Inherited from AbstractPriorityTask.) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Process |
Process an IInvocableCacheEntry.
| |
| ProcessAll |
Process a collection of IInvocableCacheEntry
objects.
| |
| ReadExternal |
Restore the contents of a user type instance by reading its state
using the specified IPofReader object.
(Overrides AbstractPriorityTaskReadExternal(IPofReader).) | |
| RunCanceled |
This method will be called if and only if all attempts to
interrupt this task were unsuccesful in stopping the execution or
if the execution was canceled before it had a chance to
run at all.
(Inherited from AbstractPriorityTask.) | |
| ToString |
Return a human-readable description for this
PriorityProcessor.
(Overrides ObjectToString.) | |
| WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
(Overrides AbstractPriorityTaskWriteExternal(IPofWriter).) |
PreloadRequest procStandard = PreloadRequest.Instance;
PriorityProcessor procPriority = new PriorityProcessor(procStandard);
procPriority.ExecutionTimeoutMillis = PriorityTaskTimeout.None;
cache.ProcessAll(keys, procPriority);