Package io.deephaven.chunk.util.pools
Class ShortChunkSoftPool
java.lang.Object
io.deephaven.chunk.util.pools.ShortChunkSoftPool
- All Implemented Interfaces:
ShortChunkPool
ChunkPool
implementation for chunks of shorts.-
Method Summary
Modifier and TypeMethodDescriptionvoid
giveResettableShortChunk
(@NotNull ResettableShortChunk resettableShortChunk) void
giveResettableWritableShortChunk
(@NotNull ResettableWritableShortChunk resettableWritableShortChunk) void
giveWritableShortChunk
(@NotNull WritableShortChunk<?> writableShortChunk) <ATTR extends Any>
ResettableShortChunk<ATTR><ATTR extends Any>
ResettableWritableShortChunk<ATTR><ATTR extends Any>
WritableShortChunk<ATTR>takeWritableShortChunk
(int capacity)
-
Method Details
-
asChunkPool
- Specified by:
asChunkPool
in interfaceShortChunkPool
-
takeWritableShortChunk
- Specified by:
takeWritableShortChunk
in interfaceShortChunkPool
-
giveWritableShortChunk
- Specified by:
giveWritableShortChunk
in interfaceShortChunkPool
-
takeResettableShortChunk
- Specified by:
takeResettableShortChunk
in interfaceShortChunkPool
-
giveResettableShortChunk
- Specified by:
giveResettableShortChunk
in interfaceShortChunkPool
-
takeResettableWritableShortChunk
- Specified by:
takeResettableWritableShortChunk
in interfaceShortChunkPool
-
giveResettableWritableShortChunk
public void giveResettableWritableShortChunk(@NotNull @NotNull ResettableWritableShortChunk resettableWritableShortChunk) - Specified by:
giveResettableWritableShortChunk
in interfaceShortChunkPool
-