Class BufferedOutletExtended<T>

  • All Implemented Interfaces:
    akka.stream.stage.OutHandler

    public class BufferedOutletExtended<T>
    extends java.lang.Object
    implements akka.stream.stage.OutHandler
    INTERNAL API
    • Constructor Detail

      • BufferedOutletExtended

        public BufferedOutletExtended​(GenericOutlet<T> outlet)
    • Method Detail

      • doPush

        protected void doPush​(BufferedOutletExtended.ElementAndTrigger elem)
        override to hook into actually pushing, e.g. to keep track how much has been pushed already (in contract, to being still cached)
        Parameters:
        elem - (undocumented)
      • onPull

        public void onPull()
        Specified by:
        onPull in interface akka.stream.stage.OutHandler
      • push

        public final void push​(T element)
      • pushWithTrigger

        public final void pushWithTrigger​(T elem,
                                          scala.Function0<scala.runtime.BoxedUnit> trigger)
      • tryFlush

        public void tryFlush()