mirror of https://github.com/apache/lucene.git
Add missing javadoc to Cache.synchronizedCache().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3e7a15e317
commit
33aea48b02
|
@ -62,6 +62,11 @@ public abstract class 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.
|
||||
*/
|
||||
public static Cache synchronizedCache(Cache cache) {
|
||||
return cache.getSynchronizedCache();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue