Searched refs:shutdownHook (Results 1 – 5 of 5) sorted by relevance
34 InterpreterConfiguration config, Runnable shutdownHook) { in launchInterpreter() argument40 if (shutdownHook == null) { in launchInterpreter()48 process.start(shutdownHook); in launchInterpreter()54 final AndroidProxy proxy, Runnable shutdownHook) { in launchScript() argument59 if (shutdownHook == null) { in launchScript()67 process.start(shutdownHook); in launchScript()
102 final Thread shutdownHook = new Thread("worker-shutdown-hook-" + trialId) { in startWorker() local107 shutdownHookRegistrar.addShutdownHook(shutdownHook); in startWorker()123 shutdownHookRegistrar.removeShutdownHook(shutdownHook); in startWorker()130 shutdownHookRegistrar.removeShutdownHook(shutdownHook); in startWorker()136 shutdownHookRegistrar.removeShutdownHook(shutdownHook); in startWorker()
109 public void start(final Runnable shutdownHook) { in start() argument146 if (shutdownHook != null) { in start()147 shutdownHook.run(); in start()
104 public void start(final Runnable shutdownHook) { in start() argument108 super.start(shutdownHook); in start()
951 Thread shutdownHook = in deleteTreeOnExit() local962 Runtime.getRuntime().addShutdownHook(shutdownHook); in deleteTreeOnExit()