@ProviderType public interface TypedEventMonitor
Modifier and Type | Method and Description |
---|---|
PushStream<MonitorEvent> |
monitorEvents()
Get a stream of events, starting now.
|
PushStream<MonitorEvent> |
monitorEvents(Instant history)
Get a stream of events, including historical data events prior to the
supplied time
|
PushStream<MonitorEvent> |
monitorEvents(int history)
Get a stream of events, including up to the requested number of
historical data events.
|
PushStream<MonitorEvent> monitorEvents()
PushStream<MonitorEvent> monitorEvents(int history)
history
- The requested number of historical events, note that fewer
than this number of events may be returned if history is
unavailable, or if insufficient events have been sent.PushStream<MonitorEvent> monitorEvents(Instant history)
history
- The requested time after which historical events, should
be included. Note that events may have been discarded, or
history unavailable.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0