Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
LocalCache..::.AddInternal Method
LocalCache Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Add new cache entry and raise Inserted event if necessary.

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

# Syntax

C#
    protected virtual LocalCache..::.Entry AddInternal(
    	Object key,
    	Object value
    )

#### Parameters

key
  Type: System..::.Object
  Key to add.

value
  Type: System..::.Object
  Value to add.

#### Return Value

Added entry.

# Remarks

This method should only be called while holding the write lock.

# See Also

LocalCache Class
Tangosol.Net.Cache Namespace