Package io.deephaven.chunk.util.pools
Interface IntChunkPool
- All Known Implementing Classes:
IntChunkSoftPool
,MultiChunkPool
public interface IntChunkPool
-
Method Summary
Modifier and TypeMethodDescription<ATTR extends Any>
ResettableIntChunk<ATTR>Take aResettableIntChunk
.<ATTR extends Any>
ResettableWritableIntChunk<ATTR>Take aResettableWritableIntChunk
.<ATTR extends Any>
WritableIntChunk<ATTR>takeWritableIntChunk
(int capacity) Take aWritableIntChunk
of at least the specifiedcapacity
.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableIntChunk
Take aWritableIntChunk
of at least the specifiedcapacity
. The result belongs to the caller untilclosed
.- Parameters:
capacity
- The minimum capacity for the result- Returns:
- A
WritableIntChunk
of at least the specifiedcapacity
that belongs to the caller untilclosed
-
takeResettableIntChunk
Take aResettableIntChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableIntChunk
that belongs to the caller untilclosed
-
takeResettableWritableIntChunk
Take aResettableWritableIntChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableWritableIntChunk
that belongs to the caller untilclosed
-