Package io.deephaven.chunk.util.pools
Interface FloatChunkPool
- All Known Implementing Classes:
FloatChunkSoftPool
,MultiChunkPool
public interface FloatChunkPool
-
Method Summary
Modifier and TypeMethodDescription<ATTR extends Any>
ResettableFloatChunk<ATTR>Take aResettableFloatChunk
.<ATTR extends Any>
ResettableWritableFloatChunk<ATTR>Take aResettableWritableFloatChunk
.<ATTR extends Any>
WritableFloatChunk<ATTR>takeWritableFloatChunk
(int capacity) Take aWritableFloatChunk
of at least the specifiedcapacity
.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableFloatChunk
Take aWritableFloatChunk
of at least the specifiedcapacity
. The result belongs to the caller untilclosed
.- Parameters:
capacity
- The minimum capacity for the result- Returns:
- A
WritableFloatChunk
of at least the specifiedcapacity
that belongs to the caller untilclosed
-
takeResettableFloatChunk
Take aResettableFloatChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableFloatChunk
that belongs to the caller untilclosed
-
takeResettableWritableFloatChunk
Take aResettableWritableFloatChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableWritableFloatChunk
that belongs to the caller untilclosed
-