Interface EventStore

All Known Implementing Classes:
MemoryEventStore

public interface EventStore
Interface for implementing an event store. Used for event retention.
See Also:
  • Method Details

    • retain

      void retain(PublishMessage publishMessage)
      Stores an event in the store
      Parameters:
      publishMessage - the event to store
    • getRetained

      List<PublishMessage> getRetained(DestinationMatch query)
      Returns all stored events that match the query.
      Parameters:
      query - the query
      Returns:
      a collection of events that match the query