Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
DefaultConfigurableCacheFactory..::.InstantiateLocalNamedCache Method (Int32, Int32)
DefaultConfigurableCacheFactory Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Construct a LocalNamedCache using the specified parameters.

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

# Syntax

C#
    protected virtual LocalNamedCache InstantiateLocalNamedCache(
    	int units,
    	int expiryMillis
    )

#### Parameters

units
  Type: System..::.Int32
  The number of units that the cache manager will cache before pruning the cache.

expiryMillis
  Type: System..::.Int32
  The number of milliseconds that each cache entry lives before being automatically expired.

#### Return Value

[Missing <returns> documentation for "M:Tangosol.Net.DefaultConfigurableCacheFactory.InstantiateLocalNamedCache(System.Int32,System.Int32)"]

# Remarks

This method exposes a corresponding LocalNamedCache constructor and is provided for the express purpose of allowing its override.

# See Also

DefaultConfigurableCacheFactory Class
InstantiateLocalNamedCache Overload
Tangosol.Net Namespace