Class InMemoryEventStorageEngine

java.lang.Object
org.axonframework.eventsourcing.eventstore.inmemory.InMemoryEventStorageEngine
All Implemented Interfaces:
DescribableComponent, EventStorageEngine

public class InMemoryEventStorageEngine extends Object implements EventStorageEngine
Thread-safe EventStorageEngine implementation storing events in memory.

A committed batch becomes visible to consumers as a whole. Events are stored one at a time, but the position up to which readers may advance is published once, after the last event of the batch is stored, so a reader sourcing or streaming during a commit observes either none of that batch or all of it.

Since:
3.0.0
Author:
Allard Buijze, Rene de Waele, Milan Savić, Steven van Beelen