Class BufferedOutletExtended<T>
java.lang.Object
org.apache.pekko.http.impl.engine.http2.BufferedOutletExtended<T>
- All Implemented Interfaces:
org.apache.pekko.stream.stage.OutHandler
public class BufferedOutletExtended<T>
extends Object
implements org.apache.pekko.stream.stage.OutHandler
INTERNAL API
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuffer()
protected void
override to hook into actually pushing, e.g. to keep track how much has been pushed already (in contract, to being still cached)void
onPull()
final void
final void
pushWithTrigger
(T elem, scala.Function0<scala.runtime.BoxedUnit> trigger) void
tryFlush()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pekko.stream.stage.OutHandler
onDownstreamFinish, onDownstreamFinish
-
Constructor Details
-
BufferedOutletExtended
-
-
Method Details
-
buffer
-
doPush
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 interfaceorg.apache.pekko.stream.stage.OutHandler
-
push
-
pushWithTrigger
-
tryFlush
public void tryFlush()
-