Package io.vertigo.core.impl.daemon
Class DaemonManagerImpl
- java.lang.Object
- 
- io.vertigo.core.impl.daemon.DaemonManagerImpl
 
- 
- All Implemented Interfaces:
- DaemonManager,- Activeable,- Component,- CoreComponent,- Manager,- DefinitionProvider,- SimpleDefinitionProvider
 
 public final class DaemonManagerImpl extends Object implements DaemonManager, Activeable, SimpleDefinitionProvider Manager of all the daemons.- Author:
- mlaroche, pchretien, npiedeloup
 
- 
- 
Constructor SummaryConstructors Constructor Description DaemonManagerImpl(AnalyticsManager analyticsManager)Construct an instance of DaemonManagerImpl.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthMeasurecheckDaemonsExecs()List<DaemonStat>getStats()Provides a snapshot/copy of execution's stats.List<? extends Definition>provideDefinitions(DefinitionSpace definitionSpace)Provide definitions to be registered in the definitionSpacevoidstart()Called after the component has been created and filled by injection (for the components built by configuration).voidstop()Called before the component is stopped.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface io.vertigo.core.node.definition.DefinitionProvideraddDefinitionResourceConfig
 - 
Methods inherited from interface io.vertigo.core.node.definition.SimpleDefinitionProviderget
 
- 
 
- 
- 
- 
Constructor Detail- 
DaemonManagerImpl@Inject public DaemonManagerImpl(AnalyticsManager analyticsManager) Construct an instance of DaemonManagerImpl.
 
- 
 - 
Method Detail- 
provideDefinitionspublic List<? extends Definition> provideDefinitions(DefinitionSpace definitionSpace) Description copied from interface:SimpleDefinitionProviderProvide definitions to be registered in the definitionSpace- Specified by:
- provideDefinitionsin interface- SimpleDefinitionProvider
- Parameters:
- definitionSpace- the actual definitionSpace
- Returns:
- the list of new definition to register
 
 - 
getStatspublic List<DaemonStat> getStats() Provides a snapshot/copy of execution's stats.- Specified by:
- getStatsin interface- DaemonManager
- Returns:
- Stats
 
 - 
startpublic void start() Called after the component has been created and filled by injection (for the components built by configuration).- Specified by:
- startin interface- Activeable
 
 - 
stoppublic void stop() Called before the component is stopped.- Specified by:
- stopin interface- Activeable
 
 - 
checkDaemonsExecspublic HealthMeasure checkDaemonsExecs() 
 
- 
 
-