Java io.netty.util ThreadDeathWatcher fields, constructors, methods, implement or subclass

Example usage for Java io.netty.util ThreadDeathWatcher fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.util ThreadDeathWatcher.

The text is from its open source code.

Method

booleanawaitInactivity(long timeout, TimeUnit unit)
Waits until the thread of this watcher has no threads to watch and terminates itself.
voidwatch(Thread thread, Runnable task)
Schedules the specified task to run when the specified thread dies.