
@Deprecated public class Module extends Object implements HasLifecycle, ConfigurationBulkChangeHandler, Configurable, SignalHandler
notes: module driver, sends to functionnal modules such as calibration iquestion: how are the module sindependants have a look at sampler ....
Configurable.Environment| Modifier and Type | Field and Description |
|---|---|
protected String |
name
Deprecated.
the name of this component can be set to any String field via
the @LookupName annotation
|
protected int |
tickMillis
Deprecated.
|
| Constructor and Description |
|---|
Module()
Deprecated.
|
Module(int tickMillis)
Deprecated.
|
Module(String name)
Deprecated.
the name can be accessed via
getName() |
Module(String name,
int tickMillis)
Deprecated.
the name can be accessed via
getName() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTickMillis()
Deprecated.
|
void |
init()
Deprecated.
Called from the enclosing
Subsystem at construction
phase. |
void |
initModule()
Deprecated.
use init method of HasLifeCycle instead.
|
void |
setTickMillis(int tickMillis)
Deprecated.
invoke
setTaskPeriodMillis on the task instead. |
void |
shutdownNow()
Deprecated.
added for tying to unstuck ExcecutorService.
|
void |
startTicking()
Deprecated.
this is not needed anymore.
|
void |
tick()
Deprecated.
use the HasPeriodicTask interface instead and make sure this
method has an empty implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkpostInit, postShutdown, postStart, startsendSignal, sendSignalWithTimeLimit, signalgetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystem@Deprecated @LookupName protected String name
@Deprecated @ConfigurationParameter protected int tickMillis
public Module()
@Deprecated public Module(int tickMillis)
tickMillis - @Deprecated public Module(String name, int tickMillis)
getName()name - tickMillis - @Deprecated public Module(String name)
getName()name - @Deprecated @ConfigurationParameterChanger(propertyName="tickMillis") public void setTickMillis(int tickMillis)
setTaskPeriodMillis on the task instead.if called before startup this method just fix the tick frequency (the module wil later "tick" at this rate) .
if called after startup then will change the ticking rate
in that case the ticking will change but new rate will be effective after
a delay of "old rate"
tickMillis - @Deprecated public int getTickMillis()
public final void init()
HasLifecycleSubsystem at construction
phase. This method is called before the children components of this
object have their init method called.
At the time it is called, connection to the messaging layer is not yet
done, so there should be no attempt to send messages in the body of
this method. Configuration for message listening can nevertheless be
done here, such as adding MessageListener
objects.
It is unnecessary to call super.init()
init in interface HasLifecycle@Deprecated public void initModule()
@Deprecated public final void startTicking()
@Deprecated public void tick()
public void shutdownNow()
shutdownNow in interface HasLifecycleCopyright © 2017 LSST. All rights reserved.