Package org.apache.solr.cloud
Class DistributedMultiLock
- java.lang.Object
-
- org.apache.solr.cloud.DistributedMultiLock
-
public class DistributedMultiLock extends Object
A lock as acquired for running a single API command (Collection or Config Set or anything else in the future). Internally it is composed of multipleDistributedLock
's.
-
-
Constructor Summary
Constructors Constructor Description DistributedMultiLock(List<DistributedLock> locks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCountInternalLocks()
boolean
isAcquired()
void
release()
void
waitUntilAcquired()
-
-
-
Constructor Detail
-
DistributedMultiLock
public DistributedMultiLock(List<DistributedLock> locks)
-
-