Class InMemoryEventCollector

java.lang.Object
org.apache.polaris.service.events.listeners.InMemoryEventCollector
All Implemented Interfaces:
org.apache.polaris.service.events.PolarisEventDispatcher

public class InMemoryEventCollector extends Object implements org.apache.polaris.service.events.PolarisEventDispatcher
  • Constructor Details

    • InMemoryEventCollector

      public InMemoryEventCollector()
  • Method Details

    • clear

      public void clear()
    • getLatest

      public org.apache.polaris.service.events.PolarisEvent getLatest(org.apache.polaris.service.events.PolarisEventType type)
    • dispatch

      public void dispatch(org.apache.polaris.service.events.PolarisEvent event)
      Specified by:
      dispatch in interface org.apache.polaris.service.events.PolarisEventDispatcher
    • hasListeners

      public boolean hasListeners(org.apache.polaris.service.events.PolarisEventType polarisEventType)
      Specified by:
      hasListeners in interface org.apache.polaris.service.events.PolarisEventDispatcher