com.silverpeas.dataWarning.control
Class DataWarningSchedulerImpl
java.lang.Object
com.silverpeas.dataWarning.control.DataWarningSchedulerImpl
- All Implemented Interfaces:
- com.silverpeas.scheduler.SchedulerEventListener
public class DataWarningSchedulerImpl
- extends Object
- implements com.silverpeas.scheduler.SchedulerEventListener
Method Summary |
void |
doDataWarningSchedulerImpl()
This method is called periodically by the scheduler,
it test for each peas of type DataWarning
if associated model contains states with timeout events
If so, all the instances of these peas that have the "timeout" states actives
are read to check if timeout interval has been reached. |
void |
jobFailed(com.silverpeas.scheduler.SchedulerEvent anEvent)
|
void |
jobSucceeded(com.silverpeas.scheduler.SchedulerEvent anEvent)
|
void |
start()
Starts the schedule of the scan and processing of data warning. |
void |
stop()
Stops this scheduler. |
void |
triggerFired(com.silverpeas.scheduler.SchedulerEvent anEvent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATAWARNING_JOB_NAME
public static final String DATAWARNING_JOB_NAME
- See Also:
- Constant Field Values
DataWarningSchedulerImpl
public DataWarningSchedulerImpl(String compoId)
start
public void start()
- Starts the schedule of the scan and processing of data warning.
stop
public void stop()
- Stops this scheduler. No scans on data warning will be more performed.
doDataWarningSchedulerImpl
public void doDataWarningSchedulerImpl()
- This method is called periodically by the scheduler,
it test for each peas of type DataWarning
if associated model contains states with timeout events
If so, all the instances of these peas that have the "timeout" states actives
are read to check if timeout interval has been reached.
In that case, the administrator can be notified, the active state and the instance are marked
as timeout.
triggerFired
public void triggerFired(com.silverpeas.scheduler.SchedulerEvent anEvent)
throws Exception
- Specified by:
triggerFired
in interface com.silverpeas.scheduler.SchedulerEventListener
- Throws:
Exception
jobSucceeded
public void jobSucceeded(com.silverpeas.scheduler.SchedulerEvent anEvent)
- Specified by:
jobSucceeded
in interface com.silverpeas.scheduler.SchedulerEventListener
jobFailed
public void jobFailed(com.silverpeas.scheduler.SchedulerEvent anEvent)
- Specified by:
jobFailed
in interface com.silverpeas.scheduler.SchedulerEventListener
Copyright © 2016 Silverpeas. All Rights Reserved.