Package tech.cassandre.trading.bot.batch
Class AccountFlux
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.Base
-
- tech.cassandre.trading.bot.util.base.BaseFlux<AccountDTO>
-
- tech.cassandre.trading.bot.batch.AccountFlux
-
public class AccountFlux extends BaseFlux<AccountDTO>
Account flux.
-
-
Constructor Summary
Constructors Constructor Description AccountFlux(UserService newUserService)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<AccountDTO>
getNewValues()
Implements this method to return all the new values.-
Methods inherited from class tech.cassandre.trading.bot.util.base.BaseFlux
emitValue, getFlux, getOverflowStrategy, update
-
-
-
-
Constructor Detail
-
AccountFlux
public AccountFlux(UserService newUserService)
Constructor.- Parameters:
newUserService
- user service
-
-
Method Detail
-
getNewValues
protected final Set<AccountDTO> getNewValues()
Description copied from class:BaseFlux
Implements this method to return all the new values. Those values will be send to the strategy.- Specified by:
getNewValues
in classBaseFlux<AccountDTO>
- Returns:
- list of new values
-
-