Interface MonitoringService
- All Superinterfaces:
ParameterConfigurerProvider,Service,ServiceBase
- All Known Subinterfaces:
UpdatingMonitoringService
- All Known Implementing Classes:
AbstractProcessService,AbstractRestProcessService,AbstractStringProcessService
Extended service interface to gain access to the
MetricsProvider. Intended for services that perform
explicit or application-specific monitoring. Just apply this interface in addition to your service implementation.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
APPLICATION_SEPARATOR, DEFAULT_APPLICATION_INSTANCE_ID -
Method Summary
Modifier and TypeMethodDescriptionvoidattachMetricsProvider(MetricsProvider provider) Attaches the metrics provider.static voidsetUp(Service service, MetricsProvider provider) Sets up a service withprovider.Methods inherited from interface de.iip_ecosphere.platform.services.environment.Service
activate, addTypeSubstitution, createType, createType, getDescription, getKind, getName, getNetMgtKeyAddress, getParameterConfigurer, getParameterNames, getSubstitutedType, getTypeCreator, getTypeSubstitutions, getVersion, isDeployable, isTopLevel, migrate, passivate, reconfigure, switchTo, updateMethods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
getId, getState, setState
-
Method Details
-
attachMetricsProvider
Attaches the metrics provider.- Parameters:
provider- the metrics provider instance
-
setUp
Sets up a service withprovider.- Parameters:
service- the service to set up, in particular aMonitoringServiceor one if its subtypesprovider- the provider instance
-