Searched refs:hook (Results 1 – 1 of 1) sorted by relevance
271 for (Thread hook : hooks) { in exit()272 hook.start(); in exit()276 for (Thread hook : hooks) { in exit()278 hook.join(); in exit()556 public void addShutdownHook(Thread hook) { in addShutdownHook() argument558 if (hook == null) { in addShutdownHook()566 if (hook.hasBeenStarted) { in addShutdownHook()571 if (shutdownHooks.contains(hook)) { in addShutdownHook()575 shutdownHooks.add(hook); in addShutdownHook()589 public boolean removeShutdownHook(Thread hook) { in removeShutdownHook() argument[all …]