Package io.deephaven.chunk.util.pools
Interface BooleanChunkPool
- All Known Implementing Classes:
BooleanChunkSoftPool,MultiChunkPool
public interface BooleanChunkPool
Interface for pools of
WritableBooleanChunk, ResettableBooleanChunk, and
ResettableWritableBooleanChunk.-
Method Summary
Modifier and TypeMethodDescription<ATTR extends Any>
ResettableBooleanChunk<ATTR>Take aResettableBooleanChunk.<ATTR extends Any>
ResettableWritableBooleanChunk<ATTR>Take aResettableWritableBooleanChunk.<ATTR extends Any>
WritableBooleanChunk<ATTR>takeWritableBooleanChunk(int capacity) Take aWritableBooleanChunkof at least the specifiedcapacity.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableBooleanChunk
Take aWritableBooleanChunkof at least the specifiedcapacity. The result belongs to the caller untilclosed.- Parameters:
capacity- The minimum capacity for the result- Returns:
- A
WritableBooleanChunkof at least the specifiedcapacitythat belongs to the caller untilclosed
-
takeResettableBooleanChunk
Take aResettableBooleanChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableBooleanChunkthat belongs to the caller untilclosed
-
takeResettableWritableBooleanChunk
Take aResettableWritableBooleanChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableWritableBooleanChunkthat belongs to the caller untilclosed
-