org.ow2.orchestra.pvm.internal.svc
Class CommandManagementService
java.lang.Object
org.ow2.orchestra.pvm.internal.svc.CommandManagementService
- All Implemented Interfaces:
- ManagementService
public class CommandManagementService
- extends Object
- implements ManagementService
- Author:
- Tom Baeyens
|
Method Summary |
void |
executeJob(String jobId)
resets the retry count, clears the exception and executes the job. |
List<Job> |
getJobsWithException(int firstResult,
int maxResults)
all jobs for which all the retry attempts have failed and which are parked,
waiting for operator intervention |
List<Message> |
getMessages(int firstResult,
int maxResults)
all the messages which are waiting to be executed. |
List<Timer> |
getTimers(int firstResult,
int maxResults)
all the timers which are waiting for their due date. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandService
protected CommandService commandService
CommandManagementService
public CommandManagementService()
executeJob
public void executeJob(String jobId)
- Description copied from interface:
ManagementService
- resets the retry count, clears the exception and executes the job. An
exception is thrown out of this method in case the execution of the job
fails. In case the async command executor is configured for this service,
failing job execution will not result into an exception coming out of this
method.
- Specified by:
executeJob in interface ManagementService
getJobsWithException
public List<Job> getJobsWithException(int firstResult,
int maxResults)
- Description copied from interface:
ManagementService
- all jobs for which all the retry attempts have failed and which are parked,
waiting for operator intervention
- Specified by:
getJobsWithException in interface ManagementService
getMessages
public List<Message> getMessages(int firstResult,
int maxResults)
- Description copied from interface:
ManagementService
- all the messages which are waiting to be executed. Messages that are
already acquired will not show up in the list.
- Specified by:
getMessages in interface ManagementService
getTimers
public List<Timer> getTimers(int firstResult,
int maxResults)
- Description copied from interface:
ManagementService
- all the timers which are waiting for their due date. Timers that are
already acquired will not show up in the list.
- Specified by:
getTimers in interface ManagementService
Copyright © 2011 OW2 Consortium. All Rights Reserved.