Package org.lsst.ccs.services
Class PulseService
java.lang.Object
org.lsst.ccs.services.PulseService
- All Implemented Interfaces:
HasLifecycle,ServiceLifecycle,AgentService
Simple JVM freeze detector stub.
If this gets triggered for reasons that are not understood, detailed diagnostics should be added.
- Author:
- onoprien
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lsst.ccs.services.AgentService
startForAgentMethods inherited from interface org.lsst.ccs.framework.HasLifecycle
build, init, postBuild, postInit, postShutdown, postStartMethods inherited from interface org.lsst.ccs.ServiceLifecycle
afterBuild, afterInit, afterStart, preBuild, preInit, preShutdown, preStart
-
Constructor Details
-
PulseService
public PulseService()
-
-
Method Details
-
start
public void start()Description copied from interface:HasLifecycleCalled from the enclosingSubsystem. At the time it is called :-
the
PhaseStateisINITIALIZINGconnection with the messaging layer is effective, the enclosing subsystem has startedStatusHeartBeatpublication the startup configuration has been loaded (if provided). IMPORTANT NOTE : This statement will not be true in future releases. Code that expect the startup configuration to be loaded should be moved fromstarttopostStart.super.start()- Specified by:
startin interfaceHasLifecycle
-
shutdown
public void shutdown()Description copied from interface:HasLifecycleCalled from the enclosingSubsystemwhenorg.lsst.ccs.Subsystem#shutdown()has been called. At the time it is calledPhaseStateisCLOSING. It should be overridden to free non hardware related resources.- Specified by:
shutdownin interfaceHasLifecycle
-
getAgentServiceName
Description copied from interface:AgentServiceGet the name of this service. This name will be used to add the given service to the lookup tree.- Specified by:
getAgentServiceNamein interfaceAgentService- Returns:
- the AgentService name.
-