Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01

Construct a ConditionalPut that updates an entry with a new value if and only if the filter applied to the entry evaluates to true.

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

Syntax

C#
public ConditionalPut(
	IFilter filter,
	Object value,
	bool ret
)

Parameters

filter
Type: Tangosol.Util..::.IFilter
The filter to evaluate an entry.
value
Type: System..::.Object
A value to update an entry with.
ret
Type: System..::.Boolean
Specifies whether or not the processor should return the current value in case it has not been updated.

Remarks

This processor optionally returns the current value as a result of the invocation if it has not been updated (the filter evaluated to false).

See Also