Searched refs:hook (Results 1 – 2 of 2) sorted by relevance
152 for (Thread hook : hooks) { in exit()153 hook.start(); in exit()157 for (Thread hook : hooks) { in exit()159 hook.join(); in exit()270 public void addShutdownHook(Thread hook) { in addShutdownHook() argument272 if (hook == null) { in addShutdownHook()280 if (hook.started) { in addShutdownHook()285 if (shutdownHooks.contains(hook)) { in addShutdownHook()289 shutdownHooks.add(hook); in addShutdownHook()313 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