Home
last modified time | relevance | path

Searched refs:addShutdownHook (Results 1 – 25 of 31) sorted by relevance

12

/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DRuntimeShutdownHookRegistrar.java21 @Override public void addShutdownHook(Thread hook) { in addShutdownHook() method in RuntimeShutdownHookRegistrar
22 Runtime.getRuntime().addShutdownHook(hook); in addShutdownHook()
DShutdownHookRegistrar.java26 void addShutdownHook(Thread hook); in addShutdownHook() method
DWorkerProcess.java107 shutdownHookRegistrar.addShutdownHook(shutdownHook); in startWorker()
/external/emma/core/java13/com/vladium/util/exit/
DExitHookManager.java69 Runtime.getRuntime ().addShutdownHook (exitThread); in addExitHook()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/
DHelloWorldServer.java41 Runtime.getRuntime().addShutdownHook(new Thread() { in start()
/external/grpc-grpc-java/examples/example-kotlin/src/main/kotlin/io/grpc/examples/helloworld/
DHelloWorldServer.kt44 Runtime.getRuntime().addShutdownHook(object : Thread() { in start()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderServer.java46 Runtime.getRuntime().addShutdownHook(new Thread() { in start()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java126 Runtime.getRuntime().addShutdownHook(hook); in printStartStopTimes()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DTempDirectory.java23 Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() { in TempDirectory()
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java195 addShutdownHook(MoreExecutors.newThread("DelayedShutdownHook-for-" + service, new Runnable() { in addDelayedShutdownHook()
222 @VisibleForTesting void addShutdownHook(Thread hook) { in addShutdownHook() method in MoreExecutors.Application
223 Runtime.getRuntime().addShutdownHook(hook); in addShutdownHook()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/
DManualFlowControlServer.java134 Runtime.getRuntime().addShutdownHook(new Thread() { in main()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonServer.java58 Runtime.getRuntime().addShutdownHook(new Thread() { in start()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DZPageHandlers.java176 .addShutdownHook( in startHttpServerAndRegisterAll()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DConstantUtf8.java82 Runtime.getRuntime().addShutdownHook(new Thread() {
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldServerTls.java79 Runtime.getRuntime().addShutdownHook(new Thread() { in start()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java48 .addShutdownHook( in main()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DAgent.java69 Runtime.getRuntime().addShutdownHook(new Thread() { in getInstance()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DFakeOcAgentTraceServiceGrpcImpl.java142 .addShutdownHook( in startServer()
/external/jline/src/src/main/java/jline/
DWindowsTerminal.java255 Runtime.getRuntime().addShutdownHook(new Thread() { in initializeTerminal()
DUnixTerminal.java91 Runtime.getRuntime().addShutdownHook(new Thread() { in initializeTerminal()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldServer.java90 .addShutdownHook( in start()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DWorkerProcessTest.java59 @Override public void addShutdownHook(Thread hook) { in addShutdownHook() method in WorkerProcessTest.MockRegistrar
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideServer.java71 Runtime.getRuntime().addShutdownHook(new Thread() { in start()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLog.java221 Runtime.getRuntime().addShutdownHook(new Thread() { in setupLogging()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAsyncServer.java77 Runtime.getRuntime().addShutdownHook(new Thread() { in run()

12