public interface IMonitoringComponentFeature
Modifier and Type | Method and Description |
---|---|
boolean |
hasEventTargets(IMonitoringService.PublishTarget pt,
IMonitoringService.PublishEventLevel pi)
Check if event targets exist.
|
IFuture<java.lang.Void> |
publishEvent(IMonitoringEvent event,
IMonitoringService.PublishTarget pt)
Publish a monitoring event.
|
ISubscriptionIntermediateFuture<IMonitoringEvent> |
subscribeToEvents(IFilter<IMonitoringEvent> filter,
boolean initial,
IMonitoringService.PublishEventLevel elm)
Subscribe to component events.
|
ISubscriptionIntermediateFuture<IMonitoringEvent> subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
filter
- An optional filter.initial
- True, for receiving the current state.IFuture<java.lang.Void> publishEvent(IMonitoringEvent event, IMonitoringService.PublishTarget pt)
boolean hasEventTargets(IMonitoringService.PublishTarget pt, IMonitoringService.PublishEventLevel pi)