Package io.deephaven.chunk.util.pools
Interface ByteChunkPool
- All Known Implementing Classes:
ByteChunkSoftPool
,MultiChunkPool
public interface ByteChunkPool
-
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
ChunkPool asChunkPool() -
takeWritableByteChunk
-
giveWritableByteChunk
-
takeResettableByteChunk
-
giveResettableByteChunk
-
takeResettableWritableByteChunk
-
giveResettableWritableByteChunk
void giveResettableWritableByteChunk(@NotNull @NotNull ResettableWritableByteChunk<?> resettableWritableByteChunk)
-