Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Invoke the passed IEntryProcessor against the entries specified by the passed cache and entries.

Namespace: Tangosol.Net.Cache.Support
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public static IDictionary InvokeAllLocked(
	IConcurrentCache cache,
	ICollection entries,
	IEntryProcessor agent
)

Parameters

cache
Type: Tangosol.Net.Cache..::..IConcurrentCache
The IConcurrentCache that the IEntryProcessor works against.
entries
Type: System.Collections..::..ICollection
A collection of IInvocableCacheEntry objects to process.
agent
Type: Tangosol.Net.Cache..::..IEntryProcessor
The IEntryProcessor to use to process the specified keys.

Return Value

An IDictionary containing the results of invoking the IEntryProcessor against each of the specified entry.

Remarks

The invocation is made thread safe by locking the corresponding keys on the cache. If an attempt to lock all the entries at once fails, they will be processed individually one-by-one.

See Also