public class ThreadPoolObserver.ThreadPoolEvent
extends java.util.EventObject
ThreadPoolObserver
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_THREAD_POOL_FINISHED |
static int |
EVENT_THREAD_POOL_STARTED |
static int |
EVENT_THREAD_POOL_UPDATED |
Constructor and Description |
---|
ThreadPoolObserver.ThreadPoolEvent(java.lang.Object source)
Constructor
|
ThreadPoolObserver.ThreadPoolEvent(java.lang.Object source,
int type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Returns with the type of the event.
|
public static final int EVENT_THREAD_POOL_STARTED
public static final int EVENT_THREAD_POOL_UPDATED
public static final int EVENT_THREAD_POOL_FINISHED
public ThreadPoolObserver.ThreadPoolEvent(java.lang.Object source)
source
- The source of the event. Usually the ThreadPoolObserver
.public ThreadPoolObserver.ThreadPoolEvent(java.lang.Object source, int type)
source
- The source of the event. Usually the ThreadPoolObserver
.type
- The type of the event