Package org.apache.solr.cloud
Class LockTree
- java.lang.Object
-
- org.apache.solr.cloud.LockTree
-
public class LockTree extends Object
This is a utility class that offers fine grained locking for various Collection Operations This class is designed for single threaded operation. It's safe for multiple threads to use it but internally it is synchronized so that only one thread can perform any operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
LockTree.Session
-
Constructor Summary
Constructors Constructor Description LockTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
LockTree.Session
getSession()
-
-
-
Method Detail
-
clear
public void clear()
-
getSession
public LockTree.Session getSession()
-
-