org.knowhowlab.osgi.monitoradmin.job
Class ScheduledMonitoringJob
java.lang.Object
org.knowhowlab.osgi.monitoradmin.job.AbstractMonitoringJob
org.knowhowlab.osgi.monitoradmin.job.ScheduledMonitoringJob
- All Implemented Interfaces:
- java.lang.Runnable, MonitoringJob
public class ScheduledMonitoringJob
- extends AbstractMonitoringJob
- implements java.lang.Runnable
Scheduled MonitoringJob
- Author:
- dmytro.pishchukhin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScheduledMonitoringJob
public ScheduledMonitoringJob(MonitoringJobVisitor visitor,
LogVisitor logVisitor,
java.lang.String initiator,
java.lang.String[] statusVariablePaths,
int schedule,
int count)
cancel
public void cancel()
- Description copied from class:
AbstractMonitoringJob
- Cancel job internaly
- Specified by:
cancel in class AbstractMonitoringJob
isHandleUpdateEvent
public boolean isHandleUpdateEvent(java.lang.String path)
- Description copied from class:
AbstractMonitoringJob
- Does job handle StatusVariable update event
- Specified by:
isHandleUpdateEvent in class AbstractMonitoringJob
- Parameters:
path - StatusVariable path
- Returns:
true - handles, otherwise - false
handleUpdateEvent
public void handleUpdateEvent(java.lang.String monitorableId,
StatusVariable statusVariable)
- Description copied from class:
AbstractMonitoringJob
- Handle StatusVariable update event
- Specified by:
handleUpdateEvent in class AbstractMonitoringJob
- Parameters:
monitorableId - monitorableIdstatusVariable - statusVariable
run
public void run()
- Specified by:
run in interface java.lang.Runnable
Copyright © 2010 Know-How Lab. All Rights Reserved.