public final class BoundedSynchedPipeFactory extends Object implements IPipeFactory
| Modifier and Type | Field and Description |
|---|---|
static BoundedSynchedPipeFactory |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> IPipe<T> |
newPipe(OutputPort<? extends T> sourcePort,
InputPort<T> targetPort)
Uses a default capacity of .
|
<T> IPipe<T> |
newPipe(OutputPort<? extends T> sourcePort,
InputPort<T> targetPort,
int capacity) |
public static final BoundedSynchedPipeFactory INSTANCE
public <T> IPipe<T> newPipe(OutputPort<? extends T> sourcePort, InputPort<T> targetPort)
newPipe in interface IPipeFactorypublic <T> IPipe<T> newPipe(OutputPort<? extends T> sourcePort, InputPort<T> targetPort, int capacity)
newPipe in interface IPipeFactoryCopyright © 2015–2020. All rights reserved.