public class BlockingQueueOutputChannelFactory extends Object implements OutputChannelFactory
OutputChannelFactory that generates BlockingQueueFrameChannel.| Constructor and Description |
|---|
BlockingQueueOutputChannelFactory(int frameSize) |
| Modifier and Type | Method and Description |
|---|---|
OutputChannel |
openChannel(int partitionNumber)
Create a channel pair tagged with a particular partition number.
|
OutputChannel |
openNilChannel(int partitionNumber)
Create a non-writable, always-empty channel pair tagged with a particular partition number.
|
public BlockingQueueOutputChannelFactory(int frameSize)
public OutputChannel openChannel(int partitionNumber)
OutputChannelFactoryopenChannel in interface OutputChannelFactorypublic OutputChannel openNilChannel(int partitionNumber)
OutputChannelFactoryOutputChannel.getWritableChannel() on this nil channel pair will result in an error. Calling
OutputChannel.getReadableChannel() will return an empty channel.openNilChannel in interface OutputChannelFactoryCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.