LocalCache Properties |
The LocalCache type exposes the following members.
| Name | Description | |
|---|---|---|
| CacheHits |
Gets the rough number of cache hits since the cache statistics
were last reset.
| |
| CacheLoader |
Gets or sets the loader used by this LocalCache.
| |
| CacheMisses |
Gets the rough number of cache misses since the cache statistics
were last reset.
| |
| CacheStatistics |
Gets the ICacheStatistics for this cache.
| |
| CacheStore |
Determine the store used by this LocalCache, if any.
| |
| CalculatorType |
Gets or sets the current unit calculator type for the cache.
| |
| Count |
Gets the number of elements contained in the
ICache.
(Overrides SynchronizedDictionaryCount.) | |
| CurrentKeyMask |
Gets or sets the current key mask for the current thread.
| |
| Delegate |
Return the delegate IDictionary.
(Inherited from SynchronizedDictionary.) | |
| Entries |
Get a collection of ICacheEntry instances
within the cache.
| |
| EvictionPolicy |
Determine the current external eviction policy, if any.
| |
| EvictionType |
Gets or sets the current eviction type.
| |
| ExpiryDelay |
Gets or sets the "time to live" for each individual cache entry.
| |
| FlushDelay |
Gets or sets the delay between cache flushes.
| |
| FlushTime |
Gets or sets the date/time offset in milliseconds at which the
next cache flush is scheduled.
| |
| HighUnits |
Gets or sets the limit of the cache size in units.
| |
| HitProbability |
Gets the rough probability (0 <= p <= 1) that any
particular "get" invocation will be satisfied by an existing
entry in the cache, based on the statistics collected since the
last reset of the cache statistics.
| |
| IndexMap |
The index IDictionary used by this LocalCache.
| |
| IsFixedSize |
Get a value indicating whether this dictionary has a fixed size.
(Inherited from SynchronizedDictionary.) | |
| IsReadLockHeld |
Determines whether or not the current thread holds a read lock.
(Inherited from SynchronizedDictionary.) | |
| IsReadOnly |
Get a value indicating whether this dictionary is read-only.
(Inherited from SynchronizedDictionary.) | |
| IsSynchronized |
Gets a value indicating whether access to this dictionary
is thread-safe.
(Inherited from SynchronizedDictionary.) | |
| IsWriteLockHeld |
Determines whether or not the current thread holds the write lock.
(Inherited from SynchronizedDictionary.) | |
| Item |
Gets or sets the element with the specified key.
(Overrides SynchronizedDictionaryItemObject.) | |
| Keys |
Get the keys collection.
(Overrides SynchronizedDictionaryKeys.) | |
| LowUnits |
Gets or sets the point to which the cache will shrink when it
prunes.
| |
| PruneLevel |
The percentage of the total number of units that will remain
after the cache manager prunes the cache.
| |
| Storage |
Get underlying cache storage.
| |
| SyncRoot |
Get an object that can be used to synchronize access to this
dictionary.
(Inherited from SynchronizedDictionary.) | |
| UnitCalculator |
Gets or sets the current external unit calculator, if any.
| |
| Units |
Gets the number of units that the cache currently stores.
| |
| Values |
Get the values collection.
(Overrides SynchronizedDictionaryValues.) |