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 aWritableFloatChunkof at least the specifiedcapacity.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableFloatChunk
Take aWritableFloatChunkof at least the specifiedcapacity. The result belongs to the caller untilclosed.- Parameters:
capacity- The minimum capacity for the result- Returns:
- A
WritableFloatChunkof at least the specifiedcapacitythat belongs to the caller untilclosed
-
takeResettableFloatChunk
Take aResettableFloatChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableFloatChunkthat belongs to the caller untilclosed
-
takeResettableWritableFloatChunk
Take aResettableWritableFloatChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableWritableFloatChunkthat belongs to the caller untilclosed
-