|
Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Inherits Lucene.Net.Util.Cache.SimpleMapCache< TKey, TValue >.
Public Member Functions | |
| SimpleLRUCache (int Capacity) | |
| override void | Put (TKey Key, TValue Value) |
| Puts a (key, value)-pair into the cache. | |
| override TValue | Get (object Key) |
Public Member Functions inherited from Lucene.Net.Util.Cache.SimpleMapCache< TKey, TValue > | |
| SimpleMapCache () | |
| SimpleMapCache (System.Collections.Generic.Dictionary< TKey, TValue > map) | |
| override TValue | Get (System.Object key) |
| Returns the value for the given key. | |
| override void | Put (TKey key, TValue value_Renamed) |
| Puts a (key, value)-pair into the cache. | |
| override bool | ContainsKey (System.Object key) |
| Returns whether the given key is in this cache. | |
| virtual System.Collections.Generic.HashSet < TKey > | KeySet () |
| Returns a Set containing all keys in this cache. | |
Public Member Functions inherited from Lucene.Net.Util.Cache.Cache< TKey, TValue > | |
| void | Close () |
| Closes the cache. | |
| void | Dispose () |
Additional Inherited Members | |
Static Public Member Functions inherited from Lucene.Net.Util.Cache.Cache< TKey, TValue > | |
| 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. | |
Protected Member Functions inherited from Lucene.Net.Util.Cache.SimpleMapCache< TKey, TValue > | |
| override void | Dispose (bool disposing) |
Definition at line 23 of file SimpleLRUCache.cs.
| Lucene.Net.Util.Cache.SimpleLRUCache< TKey, TValue >.SimpleLRUCache | ( | int | Capacity | ) |
Definition at line 45 of file SimpleLRUCache.cs.
| override TValue Lucene.Net.Util.Cache.SimpleLRUCache< TKey, TValue >.Get | ( | object | Key | ) |
Definition at line 79 of file SimpleLRUCache.cs.
|
virtual |
Puts a (key, value)-pair into the cache.
Implements Lucene.Net.Util.Cache.Cache< TKey, TValue >.
Definition at line 53 of file SimpleLRUCache.cs.
1.8.3