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 aWritableIntChunkof at least the specifiedcapacity.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableIntChunk
Take aWritableIntChunkof at least the specifiedcapacity. The result belongs to the caller untilclosed.- Parameters:
capacity- The minimum capacity for the result- Returns:
- A
WritableIntChunkof at least the specifiedcapacitythat belongs to the caller untilclosed
-
takeResettableIntChunk
Take aResettableIntChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableIntChunkthat belongs to the caller untilclosed
-
takeResettableWritableIntChunk
Take aResettableWritableIntChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableWritableIntChunkthat belongs to the caller untilclosed
-