final class SegmentPool
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static long |
byteCount
Total bytes in this pool.
|
(package private) static long |
MAX_SIZE
The maximum number of bytes to pool.
|
(package private) static Segment |
next
Singly-linked list of segments.
|
Modifier | Constructor and Description |
---|---|
private |
SegmentPool() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
recycle(Segment segment) |
(package private) static Segment |
take() |
static final long MAX_SIZE
@Nullable static Segment next
static long byteCount