Class SideEffectQueue

    • Constructor Detail

      • SideEffectQueue

        public SideEffectQueue()
    • Method Detail

      • clear

        public void clear()
      • flush

        public boolean flush()
        Description copied from interface: SideEffectProducer
        Applies the side effect.
        Specified by:
        flush in interface SideEffectProducer
        Returns:
        false to indicate that the side effect could not be applied successfully
      • add

        public void add​(SideEffectProducer sideEffectProducer)
        Description copied from interface: SideEffects
        Chain the given side effect. It will be executed/flushed at the end of the processing.
        Specified by:
        add in interface SideEffects