
public class PeriodicTaskComponent extends Object implements HasLifecycle
| Modifier and Type | Method and Description |
|---|---|
long |
getTaskPeriodMillis()
Returns the task period in milliseconds.
|
void |
setTaskPeriodMillis(long taskPeriodMillis)
Changes the task period in milliseconds.
|
void |
shutdownNow()
Called from the enclosing
Subsystem when
Agent.shutdown() has been called. |
void |
start()
Called from the enclosing
Subsystem when
Subsystem.start() has been called. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, postInit, postStart@ConfigurationParameterChanger(propertyName="taskPeriodMillis") public void setTaskPeriodMillis(long taskPeriodMillis)
taskPeriodMillis - public long getTaskPeriodMillis()
public void shutdownNow()
HasLifecycleSubsystem when
Agent.shutdown() has been called. At the time it
is called :
PhaseState is CLOSING.
HardwareController.checkStopped() has
been called
If overridden from Module, a call to
super.shutdownNow() is required.
shutdownNow in interface HasLifecyclepublic void start()
HasLifecycleSubsystem when
Subsystem.start() has been called. At the time it is
called :
PhaseState is
INITIALIZING
connection with the messaging layer is effective, the enclosing
subsystem has started StatusHeartBeat
publication
the startup configuration has been loaded (if provided)
super.start()start in interface HasLifecycleCopyright © 2017 LSST. All rights reserved.