Package io.deephaven.chunk.util.pools
Class ByteChunkSoftPool
java.lang.Object
io.deephaven.chunk.util.pools.ByteChunkSoftPool
- All Implemented Interfaces:
ByteChunkPool
ChunkPool
implementation for chunks of bytes.-
Method Summary
Modifier and TypeMethodDescriptionvoid
giveResettableByteChunk
(@NotNull ResettableByteChunk resettableByteChunk) void
giveResettableWritableByteChunk
(@NotNull ResettableWritableByteChunk resettableWritableByteChunk) void
giveWritableByteChunk
(@NotNull WritableByteChunk<?> writableByteChunk) <ATTR extends Any>
ResettableByteChunk<ATTR><ATTR extends Any>
ResettableWritableByteChunk<ATTR><ATTR extends Any>
WritableByteChunk<ATTR>takeWritableByteChunk
(int capacity)
-
Method Details
-
asChunkPool
- Specified by:
asChunkPool
in interfaceByteChunkPool
-
takeWritableByteChunk
- Specified by:
takeWritableByteChunk
in interfaceByteChunkPool
-
giveWritableByteChunk
- Specified by:
giveWritableByteChunk
in interfaceByteChunkPool
-
takeResettableByteChunk
- Specified by:
takeResettableByteChunk
in interfaceByteChunkPool
-
giveResettableByteChunk
- Specified by:
giveResettableByteChunk
in interfaceByteChunkPool
-
takeResettableWritableByteChunk
- Specified by:
takeResettableWritableByteChunk
in interfaceByteChunkPool
-
giveResettableWritableByteChunk
public void giveResettableWritableByteChunk(@NotNull @NotNull ResettableWritableByteChunk resettableWritableByteChunk) - Specified by:
giveResettableWritableByteChunk
in interfaceByteChunkPool
-