public interface ThreadLifecycleListener
Modifier and Type | Method and Description |
---|---|
void |
started(Thread t)
The specified thread is about to be started.
|
void |
startFailed(Thread t)
The specified thread failed to start.
|
void |
terminated(Thread t)
The specified thread has been terminated.
|
void started(Thread t)
t
- the thread which is being startedvoid startFailed(Thread t)
t
- the thread that had a failed startvoid terminated(Thread t)
t
- the thread that has been terminatedCopyright © 2019. All rights reserved.