Package io.deephaven.chunk.util.pools
Class CharChunkSoftPool
java.lang.Object
io.deephaven.chunk.util.pools.CharChunkSoftPool
- All Implemented Interfaces:
CharChunkPool
ChunkPool
implementation for chunks of chars.-
Method Summary
Modifier and TypeMethodDescriptionvoid
giveResettableCharChunk
(@NotNull ResettableCharChunk resettableCharChunk) void
giveResettableWritableCharChunk
(@NotNull ResettableWritableCharChunk resettableWritableCharChunk) void
giveWritableCharChunk
(@NotNull WritableCharChunk<?> writableCharChunk) <ATTR extends Any>
ResettableCharChunk<ATTR><ATTR extends Any>
ResettableWritableCharChunk<ATTR><ATTR extends Any>
WritableCharChunk<ATTR>takeWritableCharChunk
(int capacity)
-
Method Details
-
asChunkPool
- Specified by:
asChunkPool
in interfaceCharChunkPool
-
takeWritableCharChunk
- Specified by:
takeWritableCharChunk
in interfaceCharChunkPool
-
giveWritableCharChunk
- Specified by:
giveWritableCharChunk
in interfaceCharChunkPool
-
takeResettableCharChunk
- Specified by:
takeResettableCharChunk
in interfaceCharChunkPool
-
giveResettableCharChunk
- Specified by:
giveResettableCharChunk
in interfaceCharChunkPool
-
takeResettableWritableCharChunk
- Specified by:
takeResettableWritableCharChunk
in interfaceCharChunkPool
-
giveResettableWritableCharChunk
public void giveResettableWritableCharChunk(@NotNull @NotNull ResettableWritableCharChunk resettableWritableCharChunk) - Specified by:
giveResettableWritableCharChunk
in interfaceCharChunkPool
-