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

Method sleep

solr/core/src/java/org/apache/solr/util/TimeOut.java:64–66  ·  view source on GitHub ↗
(long ms)

Source from the content-addressed store, hash-verified

62 }
63
64 public void sleep(long ms) throws InterruptedException {
65 timeSource.sleep(ms);
66 }
67
68 public long timeLeft(TimeUnit unit) {
69 return unit.convert(timeoutAt - timeSource.getTimeNs(), NANOSECONDS);

Callers 15

waitForAliasesUpdateMethod · 0.95
testSplitLockingMethod · 0.95
invokeBulkAddCallMethod · 0.95
invokeBulkReplaceCallMethod · 0.95
invokeBulkDeleteCallMethod · 0.95
testLogBeforeExecuteMethod · 0.95
addDocsMethod · 0.95
waitForQueueToDrainMethod · 0.95
run_followFunction · 0.45
fetchAndParseJenkinsLogFunction · 0.45

Calls

no outgoing calls

Tested by 15

waitForAliasesUpdateMethod · 0.76
testSplitLockingMethod · 0.76
invokeBulkAddCallMethod · 0.76
invokeBulkReplaceCallMethod · 0.76
invokeBulkDeleteCallMethod · 0.76
testLogBeforeExecuteMethod · 0.76
addDocsMethod · 0.76
testPasswordProtectedMethod · 0.36
waitForStableSpansMethod · 0.36