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 IPipeFactory
public <T> IPipe<T> newPipe(OutputPort<? extends T> sourcePort, InputPort<T> targetPort, int capacity)
newPipe
in interface IPipeFactory
Copyright © 2015–2020. All rights reserved.