Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
InvocableCacheHelper..::.InvokeLocked Method
InvocableCacheHelper Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Invoke the passed IEntryProcessor against the specified IInvocableCacheEntry.

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

# Syntax

C#
    public static Object InvokeLocked(
    	IConcurrentCache cache,
    	IInvocableCacheEntry entry,
    	IEntryProcessor agent
    )

#### Parameters

cache
  Type: Tangosol.Net.Cache..::.IConcurrentCache
  The IConcurrentCache that the IEntryProcessor works against.

entry
  Type: Tangosol.Net.Cache..::.IInvocableCacheEntry
  The IInvocableCacheEntry to process; it is not required to exist within the cache.

agent
  Type: Tangosol.Net.Cache..::.IEntryProcessor
  The IEntryProcessor to use to process the specified key.

#### Return Value

The result of the invocation as returned from the IEntryProcessor.

# Remarks

The invocation is made thread safe by locking the corresponding key on the cache.

# See Also

InvocableCacheHelper Class
Tangosol.Net.Cache.Support Namespace