protected static class Serializer.BufferQueue extends Object
byte[]
queue ordered by array length.
The queue is small enough to simply use a linear scan search for
maintaining its order. The entire queue data is held by a
SoftReference
, so when necessary, GC can release the whole
buffer cache.
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected Serializer.BufferNode |
headBufferNode |
Modifier | Constructor and Description |
---|---|
protected |
BufferQueue() |
protected int count
protected Serializer.BufferNode headBufferNode