Class TickerFlux

    • Constructor Detail

      • TickerFlux

        public TickerFlux​(org.springframework.context.ApplicationContext applicationContext,
                          MarketService marketService)
    • Method Detail

      • getNewValues

        protected final Set<TickerDTO> getNewValues()
        Description copied from class: BaseFlux
        Implements this method to return all the new values. Those values will be sent to the strategy.
        Specified by:
        getNewValues in class BaseFlux<TickerDTO>
        Returns:
        list of new values
      • saveValues

        protected final Set<TickerDTO> saveValues​(Set<TickerDTO> newValues)
        Description copied from class: BaseFlux
        Implements this method to save values coming from flux.
        Specified by:
        saveValues in class BaseFlux<TickerDTO>
        Parameters:
        newValues - new value
        Returns:
        the value saved