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