org.opennms.netmgt.scheduler
Class Schedule
java.lang.Object
org.opennms.netmgt.scheduler.Schedule
- public class Schedule
- extends java.lang.Object
Represents a Schedule
- Author:
- brozow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
public static final java.util.Random random
m_schedulable
private ReadyRunnable m_schedulable
m_interval
private ScheduleInterval m_interval
m_timer
private ScheduleTimer m_timer
m_currentExpirationCode
private int m_currentExpirationCode
m_currentInterval
private long m_currentInterval
m_scheduled
private boolean m_scheduled
Schedule
public Schedule(ReadyRunnable schedulable,
ScheduleInterval interval,
ScheduleTimer timer)
- Parameters:
interval
- timer
-
schedule
public void schedule()
schedule
private void schedule(long interval)
run
public void run()
adjustSchedule
public void adjustSchedule()
unschedule
public void unschedule()
Generated by eevans on May 29 2005 2015.