Interface GeneratedUpdateConsumer

All Known Subinterfaces:
StrategyUpdateGenerator

public interface GeneratedUpdateConsumer
  • Method Details

    • setGeneratedEventsConsumer

      void setGeneratedEventsConsumer(Consumer<CustomGeneratedEventAliased> consumer)
      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