public interface ReadSide
Handles the management of read-sides.
Modifier and Type | Method and Description |
---|---|
<Event extends AggregateEvent<Event>> |
register(Class<? extends ReadSideProcessor<Event>> processorClass)
Register a read-side processor with Lagom.
|
<Event extends AggregateEvent<Event>> void register(Class<? extends ReadSideProcessor<Event>> processorClass)
processorClass
- The read-side processor class to register. It will be instantiated using
Guice, once for every shard that runs it. Typically it should not be a singleton.