Interface TypedEventMonitor


  • @ProviderType
    public interface TypedEventMonitor
    The EventMonitor service can be used to monitor the events that are sent using the EventBus, and that are received from remote EventBus instances
    Author:
    $Id: 7f7a493225439de463d0ad550f4b6b206b54277c $
    • Method Detail

      • monitorEvents

        PushStream<MonitorEvent> monitorEvents()
        Get a stream of events, starting now.
        Returns:
        A stream of event data
      • monitorEvents

        PushStream<MonitorEvent> monitorEvents​(int history)
        Get a stream of events, including up to the requested number of historical data events.
        Parameters:
        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.
        Returns:
        A stream of event data
      • monitorEvents

        PushStream<MonitorEvent> monitorEvents​(java.time.Instant history)
        Get a stream of events, including historical data events prior to the supplied time
        Parameters:
        history - The requested time after which historical events, should be included. Note that events may have been discarded, or history unavailable.
        Returns:
        A stream of event data