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 aWritableBooleanChunk
of at least the specifiedcapacity
.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableBooleanChunk
Take aWritableBooleanChunk
of at least the specifiedcapacity
. The result belongs to the caller untilclosed
.- Parameters:
capacity
- The minimum capacity for the result- Returns:
- A
WritableBooleanChunk
of at least the specifiedcapacity
that belongs to the caller untilclosed
-
takeResettableBooleanChunk
Take aResettableBooleanChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableBooleanChunk
that belongs to the caller untilclosed
-
takeResettableWritableBooleanChunk
Take aResettableWritableBooleanChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableWritableBooleanChunk
that belongs to the caller untilclosed
-