Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03
Assembly: Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)
System..::.Object
Tangosol.Util.Processor..::.AbstractProcessor
Tangosol.Util.Processor..::.PropertyProcessor
Tangosol.Util.Processor..::.NumberIncrementor
Tangosol.Util.Processor..::.NumberMultiplier
E22844-03
PropertyProcessor is a base class for
IEntryProcessor implementations that depend on a
PropertyManipulator.
Namespace:
Tangosol.Util.ProcessorAssembly: Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)
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
Tangosol.Util.Processor..::.AbstractProcessor
Tangosol.Util.Processor..::.PropertyProcessor
Tangosol.Util.Processor..::.NumberIncrementor
Tangosol.Util.Processor..::.NumberMultiplier