public class BufferedOutlet<T>
extends java.lang.Object
implements org.apache.pekko.stream.stage.OutHandler
| Constructor and Description | 
|---|
| BufferedOutlet(GenericOutlet<T> outlet) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.ArrayDeque<T> | buffer() | 
| void | complete() | 
| boolean | completed() | 
| protected void | doPush(T elem)override to hook into actually pushing, e.g. to keep track how much
 has been pushed already (in contract, to being still cached) | 
| void | fail(java.lang.Throwable cause) | 
| void | onPull() | 
| void | push(T elem) | 
| void | tryFlush() | 
public BufferedOutlet(GenericOutlet<T> outlet)
public java.util.ArrayDeque<T> buffer()
public void complete()
public boolean completed()
protected void doPush(T elem)
elem - (undocumented)public void fail(java.lang.Throwable cause)
public void onPull()
onPull in interface org.apache.pekko.stream.stage.OutHandlerpublic void push(T elem)
public void tryFlush()