MCPcopy Create free account
hub / github.com/apache/solr / isLocked

Method isLocked

solr/core/src/java/org/apache/solr/cloud/LockTree.java:211–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210 // if this or any of its children are locked
211 boolean isLocked() {
212 if (myLock != null) return true;
213 for (Node node : children.values()) if (node.isLocked()) return true;
214 return false;
215 }
216
217 boolean unlock(LockImpl lockObject) {
218 if (--refCount > 0) {

Callers 3

lockMethod · 0.95
isReplicatingMethod · 0.80

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected