T - the type of the elements which this pipe should transfer.public abstract class AbstractPipe<T> extends Object implements IPipe<T>
IPipe.| Modifier and Type | Field and Description |
|---|---|
protected AbstractStage |
cachedTargetStage |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPipe(OutputPort<? extends T> sourcePort,
InputPort<T> targetPort) |
| Modifier and Type | Method and Description |
|---|---|
AbstractStage |
getCachedTargetStage()
Performance cache: Avoids the following method chain
|
protected PipeScheduler |
getScheduler() |
OutputPort<? extends T> |
getSourcePort() |
InputPort<T> |
getTargetPort() |
boolean |
hasMore() |
void |
setScheduler(PipeScheduler scheduler) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, addNonBlocking, capacity, close, isClosed, isEmpty, removeLast, reportNewElement, sendSignal, size, waitForStartSignalprotected final AbstractStage cachedTargetStage
protected AbstractPipe(OutputPort<? extends T> sourcePort, InputPort<T> targetPort)
public final OutputPort<? extends T> getSourcePort()
getSourcePort in interface IPipe<T>public final InputPort<T> getTargetPort()
getTargetPort in interface IPipe<T>public final boolean hasMore()
public AbstractStage getCachedTargetStage()
this.getTargetPort().getOwningStage()
protected PipeScheduler getScheduler()
public void setScheduler(PipeScheduler scheduler)
setScheduler in interface IPipe<T>Copyright © 2015–2020. All rights reserved.