Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
InvocableCacheHelper..::.InvokeAllLocked Method
InvocableCacheHelper Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
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: 3.6.0.0 (3.6.0.0)

# 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

InvocableCacheHelper Class
Tangosol.Net.Cache.Support Namespace