public class BlockingQueueFrameChannel extends Object
Deque.
Instances of this class provide a ReadableFrameChannel through readable(), and a
WritableFrameChannel through writable(). Instances of this class are used by a single writer
and single reader. The writer and reader may run concurrently.| Constructor and Description |
|---|
BlockingQueueFrameChannel(int maxQueuedFrames)
Create a channel with a particular buffer size (expressed in number of frames).
|
| Modifier and Type | Method and Description |
|---|---|
static BlockingQueueFrameChannel |
minimal()
Create a channel that buffers one frame.
|
ReadableFrameChannel |
readable()
Returns the readable side of this channel.
|
WritableFrameChannel |
writable()
Returns the writable side of this channel.
|
public BlockingQueueFrameChannel(int maxQueuedFrames)
public WritableFrameChannel writable()
public ReadableFrameChannel readable()
public static BlockingQueueFrameChannel minimal()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.