public class ThreadPoolHandlerAdapter extends Object implements ThreadPoolHandler
Constructor and Description |
---|
ThreadPoolHandlerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
afterExecute(Runnable runnable,
Throwable throwable) |
void |
beforeExecute(Thread thread,
Runnable runnable) |
void |
beforeThreadEnd(Thread thread) |
void |
beforeThreadStart(Thread thread) |
void |
terminated() |
public void afterExecute(Runnable runnable, Throwable throwable)
afterExecute
in interface ThreadPoolHandler
public void beforeExecute(Thread thread, Runnable runnable)
beforeExecute
in interface ThreadPoolHandler
public void beforeThreadEnd(Thread thread)
beforeThreadEnd
in interface ThreadPoolHandler
public void beforeThreadStart(Thread thread)
beforeThreadStart
in interface ThreadPoolHandler
public void terminated()
terminated
in interface ThreadPoolHandler