Package 

Interface TriggeredPublisher

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Publisher<TOutput> produce(List<TInput> input) Given an input of type TInput create a cold Publisher that will produce a Publisher of type TOutput of n elements that maps to the size of the input List of TInput order is important so make sure to produce elements in the same order of input
      Unit trigger(List<BatchableTransaction<TInput, TOutput>> batchableTransactions, TransactionBatcherCache cache) Attempts to collect values from cache first and then produceExample: if TriggeredPublisher is of type and cache resolves 1, null, 3, null, 5, 6 we will attempt to produce elements for index 1 and 3 when produce stream completes we will complete futures from either values resolved from cache or from produce
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait