Base class for cache implementations.
More...
Inherits IDisposable.
Inherited by Lucene.Net.Util.Cache.Cache< TKey, TValue >.SynchronizedCache_Renamed_Class, and Lucene.Net.Util.Cache.SimpleMapCache< TKey, TValue >.
|
class | SynchronizedCache_Renamed_Class |
| Simple Cache wrapper that synchronizes all calls that access the cache.
|
|
|
abstract void | Put (TKey key, TValue value_Renamed) |
| Puts a (key, value)-pair into the cache.
|
|
abstract TValue | Get (System.Object key) |
| Returns the value for the given key.
|
|
abstract bool | ContainsKey (System.Object key) |
| Returns whether the given key is in this cache.
|
|
void | Close () |
| Closes the cache.
|
|
void | Dispose () |
|
|
static Cache< TKey, TValue > | SynchronizedCache (Cache< TKey, TValue > cache) |
| Returns a thread-safe cache backed by the specified cache. In order to guarantee thread-safety, all access to the backed cache must be accomplished through the returned cache.
|
|
|
abstract void | Dispose (bool disposing) |
|
Base class for cache implementations.
Definition at line 25 of file Cache.cs.
void Lucene.Net.Util.Cache.Cache< TKey, TValue >.Close |
( |
| ) |
|
Closes the cache.
Definition at line 117 of file Cache.cs.
abstract bool Lucene.Net.Util.Cache.Cache< TKey, TValue >.ContainsKey |
( |
System.Object |
key | ) |
|
|
pure virtual |
void Lucene.Net.Util.Cache.Cache< TKey, TValue >.Dispose |
( |
| ) |
|
abstract void Lucene.Net.Util.Cache.Cache< TKey, TValue >.Dispose |
( |
bool |
disposing | ) |
|
|
protectedpure virtual |
abstract TValue Lucene.Net.Util.Cache.Cache< TKey, TValue >.Get |
( |
System.Object |
key | ) |
|
|
pure virtual |
abstract void Lucene.Net.Util.Cache.Cache< TKey, TValue >.Put |
( |
TKey |
key, |
|
|
TValue |
value_Renamed |
|
) |
| |
|
pure virtual |
static Cache<TKey, TValue> Lucene.Net.Util.Cache.Cache< TKey, TValue >.SynchronizedCache |
( |
Cache< TKey, TValue > |
cache | ) |
|
|
static |
Returns a thread-safe cache backed by the specified cache. In order to guarantee thread-safety, all access to the backed cache must be accomplished through the returned cache.
Definition at line 90 of file Cache.cs.
The documentation for this class was generated from the following file: