Class CompositeProcessor
The CompositeProcessor represents a collection of entry processors that are invoked sequentially against the same entry.
Inherited Members
Namespace: Tangosol.Util.Processor
Assembly: Coherence.dll
Syntax
public class CompositeProcessor : AbstractProcessor, IEntryProcessor, IPortableObject
Constructors
CompositeProcessor()
Default constructor.
Declaration
public CompositeProcessor()
CompositeProcessor(IEntryProcessor[])
Construct a CompositeProcessor for the specified array of individual entry processors.
Declaration
public CompositeProcessor(IEntryProcessor[] processors)
Parameters
Type | Name | Description |
---|---|---|
IEntryProcessor[] | processors | An array of IEntryProcessor objects. |
Remarks
The result of the CompositeProcessor execution is an array of results returned by the individual IEntryProcessor invocations.
Fields
m_processors
The underlying entry processor array.
Declaration
protected IEntryProcessor[] m_processors
Field Value
Type | Description |
---|---|
IEntryProcessor[] |
Methods
Equals(object)
Compare the CompositeProcessor with another object to determine equality.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | The object to compare with. |
Returns
Type | Description |
---|---|
bool | true iff this CompositeProcessor and the passed object are equivalent CompositeProcessors. |
Overrides
GetHashCode()
Determine a hash value for the CompositeProcessor object according to the general object.GetHashCode() contract.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | An integer hash value for this ConditionalProcessor object. |
Overrides
Process(IInvocableCacheEntry)
Process an IInvocableCacheEntry.
Declaration
public override object Process(IInvocableCacheEntry entry)
Parameters
Type | Name | Description |
---|---|---|
IInvocableCacheEntry | entry | The IInvocableCacheEntry to process. |
Returns
Type | Description |
---|---|
object | The result of the processing, if any. |
Overrides
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public virtual void ReadExternal(IPofReader reader)
Parameters
Type | Name | Description |
---|---|---|
IPofReader | reader | The IPofReader from which to read the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |
ToString()
Return a human-readable description for this ConditionalProcessor.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A String description of the ConditionalProcessor. |
Overrides
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public virtual void WriteExternal(IPofWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPofWriter | writer | The IPofWriter to which to write the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |