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 classLockTree.SessionThis class is used to mark nodes for which acquiring a lock was attempted but didn't succeed.
-
Constructor Summary
Constructors Constructor Description LockTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockTree.SessiongetSession()
-
-
-
Method Detail
-
getSession
public LockTree.Session getSession()
-
-