Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PropertyProcessor Class
Members See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
PropertyProcessor is a base class for IEntryProcessor implementations that depend on a PropertyManipulator.

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

# Syntax

C#
    public abstract class PropertyProcessor : AbstractProcessor,
    	IPortableObject

# Remarks

A typical concrete subclass would implement the Process(IInvocableCacheEntry) method using the following pattern:

                 public Object Process(IInvocableDictonaryEntry entry)
                 {
                     // retrieve an old property value
                     Object oldValue = entry;

                     ... // calculate a new value and the process result
                     ... // based on the old value and the processor's attributes

                     if (!newValue.Equals(oldValue))
                     {
                         // set the new property value
                         entry = newValue;
                     }

                     // return the process result
                     return oResult;
                 }

# Inheritance Hierarchy

System..::.Object
Tangosol.Util.Processor..::.AbstractProcessor
Tangosol.Util.Processor..::.PropertyProcessor
Tangosol.Util.Processor..::.NumberIncrementor
Tangosol.Util.Processor..::.NumberMultiplier

# See Also

PropertyProcessor Members
Tangosol.Util.Processor Namespace