public class NodeModularSubsystem extends org.lsst.ccs.config.ConfigurableSubsystem
Agent.RunningCommandconfigurationProxy, parameterSetterDictionarycommandExecutorLock, currentAction, currentQueries, currentSignals, heartbeatPublisher, innerStateLock, logBusHandler, runtimeInfoPublisher| Modifier and Type | Method and Description |
|---|---|
void |
abort()
forwards a HALT signal to all components (that are signalHandlers)
|
void |
abort(long expectedMaxDelay)
same as abort but with a time span.
|
protected Set<org.lsst.ccs.config.ParameterPath> |
bulkChange()
Processes the change of configurable parameters contained in the bulk
changes.
|
void |
checkAllHardwareStarted()
checks if all HardwareControllers have been started
|
void |
checkAllHardwareStopped()
checks if all HardwareControllers have been stopped
|
void |
checkHardware()
invoke a checkHardware on all HardwareController
(except when return diag modifies the path of invocation)
|
void |
commitBulkChange()
Changes that have been submitted are processed as a group.
|
void |
doShutdown()
invokes the shutdownNow() methods on all components (starting from the top main Module)
|
void |
doStart()
invokes the start() methods on all components (starting from the top main Module)
|
ComponentLookupService |
getLookup() |
void |
postStart()
invokes the postStart() methods on all components (starting from the top main Module)
|
void |
stop()
same as stop(delay) but with an infinite delay
|
void |
stop(long expectedMaxDelay)
forwards a STOP signal to all components (that are signalHandlers)
|
void |
stopAndWait(long expectedMaxDelay)
forwards a STOP signal to all components and then checks if all hardwares have been stopped within expectedMaxDelay
|
protected void |
updateHeartBeat(org.lsst.ccs.bus.messages.StatusHeartBeat s) |
protected void |
validateBulkChanges() |
change, dropAllChanges, dropAllSubmittedChanges, dropBulkChange, dropChangesForCategories, dropSubmittedChangesForComponent, getAllSubmittedChanges, getConfigurationInfo, getConfigurationProxy, getSubmittedChangesForComponent, getTag, loadCategories, loadConfiguration, saveAllChanges, saveChangesForCategories, saveChangesForCategoriesAs, setConfigurationProxy, submitChange, updateStateAndSendStatusConfigurationInfoaddClearAlertHandler, clearAlerts, clearAllAlerts, completeInitialization, completeInitialization, forceShutdown, getLogger, getNumberCommandThreads, getRaisedAlertSummary, internalShutdown, internalStart, ping, printRunningCommands, raiseAlert, raiseAlert, removeLogPanicState, setBusLogHandlerLevel, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepth, switchToEngineeringMode, switchToNormalModeaddCommandSet, addCommandsFromObject, broadcastStatus, executeCommandRequest, getAgentInfo, getCCSVersions, getCommandCount, getCommandSet, getCurrentAction, getDictionaries, getDistributionInfo, getEnvironmentMessagingAccess, getMessagingAccess, getName, getScheduler, getState, getState, getStatusBroadcastPeriod, isInEngineeringMode, isInState, isInState, publishStateChange, publishSubsystemDataOnStatusBus, sendAck, sendNack, setAgentProperty, shutdown, start, updateAgentState, updateInternalState, waitForprotected void updateHeartBeat(org.lsst.ccs.bus.messages.StatusHeartBeat s)
updateHeartBeat in class Agentpublic ComponentLookupService getLookup()
public void doStart()
doStart in class org.lsst.ccs.config.ConfigurableSubsystempublic void postStart()
throws HardwareException
postStart in class SubsystemHardwareExceptionpublic void doShutdown()
doShutdown in class Subsystem@Command(description="halt", type=SIGNAL) public void abort()
@Command(description="halt with expected max delay", type=SIGNAL) public void abort(long expectedMaxDelay)
@Command(description="stops with expected max delay", type=ACTION) public void stop(long expectedMaxDelay) throws HardwareException
stop in class SubsystemHardwareException@Command(description="stops hardware", type=ACTION) public void stop() throws HardwareException
HardwareException@Command(description="waits until all the hardware devices are actually stopped", type=ACTION) public void stopAndWait(long expectedMaxDelay) throws HardwareException, InterruptedException
expectedMaxDelay - HardwareException, - InterruptedExceptionHardwareExceptionInterruptedExceptionpublic void checkHardware()
throws HardwareException
checkHardware in class SubsystemHardwareException - a list of HardwareExceptionpublic void checkAllHardwareStarted()
throws HardwareException
checkAllHardwareStarted in class SubsystemHardwareException - a list of exception fired by hardware that are not startedpublic void checkAllHardwareStopped()
throws HardwareException
checkAllHardwareStopped in class SubsystemHardwareException - a list of exception fired by hardware that are not stopped@Command(description="processes the bulk change", type=CONFIGURATION) public void commitBulkChange()
commitBulkChange in class org.lsst.ccs.config.ConfigurableSubsystemprotected void validateBulkChanges()
validateBulkChanges in class org.lsst.ccs.config.ConfigurableSubsystemprotected Set<org.lsst.ccs.config.ParameterPath> bulkChange()
bulkChange in class org.lsst.ccs.config.ConfigurableSubsystemCopyright © 2016 LSST. All rights reserved.