Package ch.rasc.wamp2spring.pubsub
Interface EventStore
- All Known Implementing Classes:
MemoryEventStore
public interface EventStore
Interface for implementing an event store. Used for event retention.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetRetained(DestinationMatch query) Returns all stored events that match the query.voidretain(PublishMessage publishMessage) Stores an event in the store
-
Method Details
-
retain
Stores an event in the store- Parameters:
publishMessage- the event to store
-
getRetained
Returns all stored events that match the query.- Parameters:
query- the query- Returns:
- a collection of events that match the query
-