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

Method stop

solr/core/src/java/org/apache/solr/util/RTimerTree.java:38–47  ·  view source on GitHub ↗

Recursively stop timer and sub timers

()

Source from the content-addressed store, hash-verified

36
37 /** Recursively stop timer and sub timers */
38 @Override
39 public double stop() {
40 double time = super.stop();
41
42 for (Map.Entry<String, RTimerTree> entry : children) {
43 RTimer child = entry.getValue();
44 if (child.state == STARTED || child.state == PAUSED) child.stop();
45 }
46 return time;
47 }
48
49 protected RTimerTree newTimer() {
50 return new RTimerTree();

Callers 6

testMethod · 0.95
splitMethod · 0.95
splitMethod · 0.95
doSplitMethod · 0.95
prepareComponentsMethod · 0.95

Calls 3

stopMethod · 0.95
stopMethod · 0.65
getValueMethod · 0.65

Tested by 1

testMethod · 0.76