Interface MonitoringService
-
- All Superinterfaces:
ParameterConfigurerProvider,Service,ServiceBase
- All Known Subinterfaces:
UpdatingMonitoringService
- All Known Implementing Classes:
AbstractProcessService,AbstractRestProcessService,AbstractStringProcessService
public interface MonitoringService extends Service
Extended service interface to gain access to theMetricsProvider. 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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattachMetricsProvider(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, getDescription, getKind, getName, getNetMgtKeyAddress, getParameterConfigurer, getParameterNames, getVersion, isDeployable, isTopLevel, migrate, passivate, reconfigure, switchTo, update
-
Methods inherited from interface de.iip_ecosphere.platform.services.environment.switching.ServiceBase
getId, getState, setState
-
-
-
-
Method Detail
-
attachMetricsProvider
void attachMetricsProvider(MetricsProvider provider)
Attaches the metrics provider.- Parameters:
provider- the metrics provider instance
-
setUp
static void setUp(Service service, MetricsProvider provider)
Sets up a service withprovider.- Parameters:
service- the service to set up, in particular aMonitoringServiceor one if its subtypesprovider- the provider instance
-
-