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.
Namespace: Lucene.Net.Util.CacheAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static Cache SynchronizedCache( Cache cache ) |
Visual Basic |
---|
Public Shared Function SynchronizedCache ( _ cache As Cache _ ) As Cache |
Visual C++ |
---|
public: static Cache^ SynchronizedCache( Cache^ cache ) |
Parameters
- cache
- Type: Lucene.Net.Util.Cache..::..Cache
[Missing <param name="cache"/> documentation for "M:Lucene.Net.Util.Cache.Cache.SynchronizedCache(Lucene.Net.Util.Cache.Cache)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Util.Cache.Cache.SynchronizedCache(Lucene.Net.Util.Cache.Cache)"]