MCPcopy Create free account
hub / github.com/PhantomThief/scope / endScope

Method endScope

src/main/java/com/github/phantomthief/scope/Scope.java:174–176  ·  view source on GitHub ↗

@see #beginScope

()

Source from the content-addressed store, hash-verified

172 * @see #beginScope
173 */
174 public static void endScope() {
175 SCOPE_THREAD_LOCAL.remove();
176 }
177
178 /**
179 * @return 返回当前请求的 {@link Scope},当请求线程不在 {@link Scope} 绑定状态时,返回 {@code null}

Callers 15

supplyWithNewScopeMethod · 0.95
destroyMethod · 0.80
testTimeoutMethod · 0.80
testTimeout2Method · 0.80
testAllTimeoutMethod · 0.80
testMethod · 0.80
testBreakMethod · 0.80
testExceptionMethod · 0.80
testNotHedgeMethod · 0.80
testHedgeMethod · 0.80

Calls 1

removeMethod · 0.65

Tested by 15

destroyMethod · 0.64
testTimeoutMethod · 0.64
testTimeout2Method · 0.64
testAllTimeoutMethod · 0.64
testMethod · 0.64
testBreakMethod · 0.64
testExceptionMethod · 0.64
testNotHedgeMethod · 0.64
testHedgeMethod · 0.64
testWithEachListenerMethod · 0.64