Searched refs:hook (Results 1 – 2 of 2) sorted by relevance
157 for (Thread hook : hooks) { in exit()158 hook.start(); in exit()162 for (Thread hook : hooks) { in exit()164 hook.join(); in exit()275 public void addShutdownHook(Thread hook) { in addShutdownHook() argument277 if (hook == null) { in addShutdownHook()285 if (hook.started) { in addShutdownHook()290 if (shutdownHooks.contains(hook)) { in addShutdownHook()294 shutdownHooks.add(hook); in addShutdownHook()318 public boolean removeShutdownHook(Thread hook) { in removeShutdownHook() argument[all …]
49 public void addShutdownHook(java.lang.Thread hook) { in addShutdownHook() argument53 public boolean removeShutdownHook(java.lang.Thread hook) { in removeShutdownHook() argument