@Component(value="cuba_SchedulingMBean") public class Scheduling extends java.lang.Object implements SchedulingMBean
| Modifier and Type | Field and Description |
|---|---|
protected Persistence |
persistence |
protected SchedulingAPI |
scheduling |
protected TimeSource |
timeSource |
| Constructor and Description |
|---|
Scheduling() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive() |
java.lang.String |
printActiveScheduledTasks() |
java.lang.String |
processScheduledTasks() |
java.lang.String |
removeExecutionHistory(java.lang.String age,
java.lang.String maxPeriod) |
void |
setActive(boolean value) |
@Inject protected SchedulingAPI scheduling
@Inject protected Persistence persistence
@Inject protected TimeSource timeSource
public boolean isActive()
isActive in interface SchedulingMBeanSchedulingAPI.isActive()public void setActive(boolean value)
setActive in interface SchedulingMBeanvalue - true to activate schedulingSchedulingAPI.setActive(boolean)public java.lang.String printActiveScheduledTasks()
printActiveScheduledTasks in interface SchedulingMBeanpublic java.lang.String processScheduledTasks()
processScheduledTasks in interface SchedulingMBeanpublic java.lang.String removeExecutionHistory(java.lang.String age,
java.lang.String maxPeriod)
removeExecutionHistory in interface SchedulingMBean