|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedBatchServiceMBean
The MBean interface of the batch service.
Provide the operations pause, resume, restart and shutdown.
Provide attributes that give informations about the batch execution: number of
completed and failed tasks, current state, begin date and end date of the execution.
| Method Summary | |
|---|---|
java.util.Date |
getBeginDate()
Return the begin date of the execution |
java.util.Date |
getEndDate()
Return the end date of the execution |
long |
getNumberOfCompletedTasks()
Return the number of completed tasks |
long |
getNumberOfFailedTasks()
Return the number of failed tasks |
java.lang.String |
getState()
Return the current batch state |
void |
pause()
Pause operation. |
void |
restart()
Restart operation. |
void |
resume()
Resume operation. |
void |
shutdown()
Shutdown operation. |
void |
shutdownNow()
Shutdown now operation. |
| Method Detail |
|---|
void pause()
throws java.lang.Exception
java.lang.Exception - if the state of the batch cannot permit this operation.
void resume()
throws java.lang.Exception
java.lang.Exception - if the state of the batch cannot permit this operation.
void shutdown()
throws java.lang.Exception
java.lang.Exception - if the state of the batch cannot permit this operation.
void shutdownNow()
throws java.lang.Exception
java.lang.Exception - if the state of the batch cannot permit this operation.
void restart()
throws java.lang.Exception
java.lang.Exception - if the state of the batch cannot permit this operation.long getNumberOfCompletedTasks()
long getNumberOfFailedTasks()
java.lang.String getState()
java.util.Date getBeginDate()
java.util.Date getEndDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||