public static interface StreamThread.StateListener
Modifier and Type | Method and Description |
---|---|
void |
onChange(java.lang.Thread thread,
ThreadStateTransitionValidator newState,
ThreadStateTransitionValidator oldState)
Called when state changes
|
void onChange(java.lang.Thread thread, ThreadStateTransitionValidator newState, ThreadStateTransitionValidator oldState)
thread
- thread changing statenewState
- current stateoldState
- previous state