public class NodeModularSubsystem extends org.lsst.ccs.config.ConfigurableSubsystem
Agent.RunningCommandcommandExecutorLock, currentAction, currentQueries, currentSignals, heartbeatPublisher, innerStateLock, LOCAL_EXECUTION_INFO, log, 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.
|
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 |
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)
|
protected Configurable |
getCommandDestination(String commandDestination)
Deprecated.
unused
|
org.lsst.ccs.description.ComponentLookupService |
getLookup() |
List<org.lsst.ccs.utilities.structs.ViewValue> |
getPreOrderComponentList()
Deprecated.
unused.
|
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) |
commitBulkChange, dropAllChanges, dropBulkChange, dropChangesForCategories, getConfigurationInfo, getConfigurationProxy, getTag, loadCategories, loadConfiguration, saveAllChanges, saveChangesForCategories, saveChangesForCategoriesAs, setConfigurationProxy, submitChangeaddClearAlertHandler, clearAlarms, clearAlerts, clearAllAlerts, completeInitialization, completeInitialization, forceShutdown, getLogger, getNumberCommandThreads, getRaisedAlertSummary, initialisationEndPhase, internalShutdown, internalStart, interruptActionThread, ping, printRunningCommands, publishMetaData, publishStatus, publishStatus, publishStatus, publishStatus, publishStatus, publishStatusData, raiseAlarm, raiseAlert, removeLogPanicState, sendRawStatus, setBusLogHandlerLevel, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepth, switchToEngineeringMode, switchToNormalMode, warningaddCommandSet, broadcastStatus, executeCommandRequest, fillStatus, getAgentInfo, getAgentState, getAgentState, getCCSVersions, getCommandCount, getCommandSet, getCurrentAction, getDictionaries, getDistributionInfo, getEnvironmentMessagingAccess, getMessagingAccess, getName, getScheduler, getState, getState, getStatusBroadcastPeriod, getSystemDictionary, isAgentInState, isAgentInState, isInEngineeringMode, isInState, isInState, publishStateChange, publishSubsystemDataOnStatusBus, setStatusBroadcastPeriod, shutdown, shutdownAgent, start, startAgent, startStatusBroadcasting, stopStatusBroadcasting, updateAgentState, updateInternalState, waitForprotected void updateHeartBeat(org.lsst.ccs.bus.messages.StatusHeartBeat s)
updateHeartBeat in class Agentpublic org.lsst.ccs.description.ComponentLookupService getLookup()
getLookup in class org.lsst.ccs.config.ConfigurableSubsystem@Deprecated public List<org.lsst.ccs.utilities.structs.ViewValue> getPreOrderComponentList()
public void doStart()
doStart in class org.lsst.ccs.config.ConfigurableSubsystempublic void postStart()
throws HardwareException
postStart in class SubsystemHardwareExceptionpublic void doShutdown()
doShutdown in class Subsystemprotected Configurable getCommandDestination(String commandDestination)
commandDestination - Configurable@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 stoppedCopyright © 2015 LSST. All rights reserved.