Class TypedEventMonitorImpl

java.lang.Object
org.apache.aries.typedevent.bus.impl.TypedEventMonitorImpl
All Implemented Interfaces:
org.osgi.service.typedevent.monitor.TypedEventMonitor

@Capability(namespace="osgi.service", attribute="objectClass:List<String>=org.osgi.service.typedevent.monitor.TypedEventMonitor", uses=org.osgi.service.typedevent.monitor.TypedEventMonitor.class) public class TypedEventMonitorImpl extends Object implements org.osgi.service.typedevent.monitor.TypedEventMonitor
  • Constructor Details

    • TypedEventMonitorImpl

      public TypedEventMonitorImpl(Map<String,?> props)
  • Method Details

    • destroy

      public void destroy()
    • event

      public void event(String topic, Map<String,Object> eventData)
    • monitorEvents

      public org.osgi.util.pushstream.PushStream<org.osgi.service.typedevent.monitor.MonitorEvent> monitorEvents()
      Specified by:
      monitorEvents in interface org.osgi.service.typedevent.monitor.TypedEventMonitor
    • monitorEvents

      public org.osgi.util.pushstream.PushStream<org.osgi.service.typedevent.monitor.MonitorEvent> monitorEvents(int history)
      Specified by:
      monitorEvents in interface org.osgi.service.typedevent.monitor.TypedEventMonitor
    • monitorEvents

      public org.osgi.util.pushstream.PushStream<org.osgi.service.typedevent.monitor.MonitorEvent> monitorEvents(Instant history)
      Specified by:
      monitorEvents in interface org.osgi.service.typedevent.monitor.TypedEventMonitor