Package io.deephaven.chunk.util.pools
Class DoubleChunkSoftPool
java.lang.Object
io.deephaven.chunk.util.pools.DoubleChunkSoftPool
- All Implemented Interfaces:
DoubleChunkPool
ChunkPool
implementation for chunks of doubles.-
Method Summary
Modifier and TypeMethodDescriptionvoid
giveResettableDoubleChunk
(@NotNull ResettableDoubleChunk resettableDoubleChunk) void
giveResettableWritableDoubleChunk
(@NotNull ResettableWritableDoubleChunk resettableWritableDoubleChunk) void
giveWritableDoubleChunk
(@NotNull WritableDoubleChunk<?> writableDoubleChunk) <ATTR extends Any>
ResettableDoubleChunk<ATTR><ATTR extends Any>
ResettableWritableDoubleChunk<ATTR><ATTR extends Any>
WritableDoubleChunk<ATTR>takeWritableDoubleChunk
(int capacity)
-
Method Details
-
asChunkPool
- Specified by:
asChunkPool
in interfaceDoubleChunkPool
-
takeWritableDoubleChunk
- Specified by:
takeWritableDoubleChunk
in interfaceDoubleChunkPool
-
giveWritableDoubleChunk
- Specified by:
giveWritableDoubleChunk
in interfaceDoubleChunkPool
-
takeResettableDoubleChunk
- Specified by:
takeResettableDoubleChunk
in interfaceDoubleChunkPool
-
giveResettableDoubleChunk
public void giveResettableDoubleChunk(@NotNull @NotNull ResettableDoubleChunk resettableDoubleChunk) - Specified by:
giveResettableDoubleChunk
in interfaceDoubleChunkPool
-
takeResettableWritableDoubleChunk
- Specified by:
takeResettableWritableDoubleChunk
in interfaceDoubleChunkPool
-
giveResettableWritableDoubleChunk
public void giveResettableWritableDoubleChunk(@NotNull @NotNull ResettableWritableDoubleChunk resettableWritableDoubleChunk) - Specified by:
giveResettableWritableDoubleChunk
in interfaceDoubleChunkPool
-