public interface ThreadObserver extends Observer
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Modifier and Type | Method and Description |
|---|---|
void |
stateChanged(ThreadState oldState,
ThreadState newState)
Notification of thread state change.
|
static final long serialVersionUID
void stateChanged(ThreadState oldState, ThreadState newState)
oldState - The previous thread state.newState - The new thread state.