I
- the type of the identifiers of the entities to which the event should be dispatched.@FunctionalInterface
public static interface CatchUpProcess.DispatchCatchingUp<I>
Modifier and Type | Method and Description |
---|---|
java.util.Set<I> |
perform(ProjectionRepository<I,?,?> repo,
io.spine.core.Event event,
@Nullable java.util.Set<I> narrowDownToIds)
Dispatches the given event and optionally narrowing down the entities by the set
of entity identifiers to dispatch the event to.
|
java.util.Set<I> perform(ProjectionRepository<I,?,?> repo, io.spine.core.Event event, @Nullable java.util.Set<I> narrowDownToIds)
If no particular IDs are specified, the event will be dispatched according to the repository routing rules.
repo
- the projection repository which manages the entities involved into the catch-upevent
- event to dispatchnarrowDownToIds
- optional set of identifiers of the targets to narrow down the event targets