Example usage for Java io.netty.util ThreadDeathWatcher fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | awaitInactivity(long timeout, TimeUnit unit) Waits until the thread of this watcher has no threads to watch and terminates itself. |
void | watch(Thread thread, Runnable task) Schedules the specified task to run when the specified thread dies. |