|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
NAME
|
static java.lang.String |
OBJECT_NAME
|
static int |
RESUMED
|
static int |
STARTED
|
static java.lang.String[] |
STATUS
Constants to display the current status as known to the bean. |
static int |
STOPPED
|
static int |
SUSPENDED
|
Method Summary | |
int |
getCycles()
The number of second we want to sleep between cycles. |
int |
getErrorCount()
The number of exceptions we've caught during task processing. |
int |
getExpiredCount()
The number of finished tasks we've expired. |
int |
getFinishedCycleCounter()
The number of seconds we've been waiting for a finished cycle. |
int |
getFinishedCycleTime()
The cycle time in seconds for processing FINISHED tasks. |
int |
getLaunchedCount()
The number of scheduled tasks we've launched. |
long |
getMostRecentHeartbeat()
Gets the date of the most recent heartbeat from the scheduler in ms. |
int |
getReadyCount()
The number of ready tasks we've executed during the ready cycle. |
int |
getReadyCycleCounter()
The number of seconds we've been waiting for a ready cycle. |
int |
getReadyCycleTime()
The cycle time in seconds for processing READY tasks. |
int |
getScheduledCycleCounter()
The number of seconds we've been waiting for a scheduled cycle. |
int |
getScheduledCycleTime()
The cycle time in seconds for processing SCHEDULED tasks. |
int |
getStatus()
Get state as an integer. |
java.lang.String |
getStatusDisplay()
Get the state in a displayable string. |
Field Detail |
public static final java.lang.String[] STATUS
public static final int STOPPED
public static final int STARTED
public static final int SUSPENDED
public static final int RESUMED
public static final java.lang.String NAME
public static final java.lang.String OBJECT_NAME
Method Detail |
public long getMostRecentHeartbeat()
public int getStatus()
public java.lang.String getStatusDisplay()
public int getCycles()
It should be relatively small so we can respond to scheduler control events like changing cycle times, requesting an immediate cycle, shutting down the thread, etc.
public int getReadyCount()
public int getLaunchedCount()
public int getExpiredCount()
public int getErrorCount()
public int getReadyCycleTime()
public int getReadyCycleCounter()
public int getScheduledCycleTime()
public int getScheduledCycleCounter()
public int getFinishedCycleTime()
public int getFinishedCycleCounter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |