Interface GeneratedUpdateConsumer
- All Known Subinterfaces:
StrategyUpdateGenerator
public interface GeneratedUpdateConsumer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Method Details
-
setGeneratedEventsConsumer
- Parameters:
consumer- that should be used to store generated event to be accessed later by strategy. The event must have exactly the same time that is passed to the setTime method at the moment the given event is sent to the consumer (i.e. the event should not be in the future or in the past, relative to the time passed to the setTime)
-
getGeneratedEventsConsumer
Consumer<CustomGeneratedEventAliased> getGeneratedEventsConsumer()- Returns:
- consumer that should be used to store generated event to be accessed later by strategy
-