Click or drag to resize

InvocableCacheHelperInvokeAllLocked Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-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: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static IDictionary InvokeAllLocked(
	IConcurrentCache cache,
	ICollection entries,
	IEntryProcessor agent
)

Parameters

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

Return Value

Type: IDictionary
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