public class MonitoringService extends Object implements IMonitoringService
Constructor and Description |
---|
MonitoringService() |
Modifier and Type | Method and Description |
---|---|
<T extends IMonitoringEvent> |
post(T event)
all subscribers of this event type will be triggered
|
<T extends IMonitoringSubscriber> |
register(T subscriber)
register a subscriber ( a.k.a.
|
<T extends IMonitoringSubscriber> |
unregister(T subscriber)
unregister a subscriber ( a.k.a.
|
public <T extends IMonitoringSubscriber> void register(T subscriber)
register
in interface IMonitoringService
subscriber
- IMonitoringSubscriber event handlerpublic <T extends IMonitoringSubscriber> void unregister(T subscriber)
unregister
in interface IMonitoringService
subscriber
- IMonitoringSubscriber event handlerpublic <T extends IMonitoringEvent> void post(T event)
post
in interface IMonitoringService
event
- IMonitoringEvent event objectCopyright © 2017 Hitachi Vantara. All rights reserved.