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

Method sub

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

Returns a subtimer given its name. If the subtimer did not exist a new subtimer will be started and returned, otherwise an existing subtimer will be returned as-is.

(String desc)

Source from the content-addressed store, hash-verified

55 * and returned, otherwise an existing subtimer will be returned as-is.
56 */
57 public RTimerTree sub(String desc) {
58 RTimerTree child = children.get(desc);
59 if (child == null) {
60 child = newTimer();
61 children.add(desc, child);
62 }
63 return child;
64 }
65
66 @Override
67 public String toString() {

Callers 15

testMethod · 0.95
splitMethod · 0.95
checkCircuitBreakersMethod · 0.95
prepareComponentsMethod · 0.95
cygwinifyPathsFunction · 0.45
getDirEntriesFunction · 0.45
expand_multilineFunction · 0.45
runMethod · 0.45
abbreviate_homedirFunction · 0.45

Calls 3

newTimerMethod · 0.95
getMethod · 0.65
addMethod · 0.65

Tested by 3

testMethod · 0.76
cygwinifyPathsFunction · 0.36
getDirEntriesFunction · 0.36