Package io.deephaven.chunk.util.pools
Interface LongChunkPool
- All Known Implementing Classes:
LongChunkSoftPool
,MultiChunkPool
public interface LongChunkPool
-
Method Summary
Modifier and TypeMethodDescription<ATTR extends Any>
ResettableLongChunk<ATTR>Take aResettableLongChunk
.<ATTR extends Any>
ResettableWritableLongChunk<ATTR>Take aResettableWritableLongChunk
.<ATTR extends Any>
WritableLongChunk<ATTR>takeWritableLongChunk
(int capacity) Take aWritableLongChunk
of at least the specifiedcapacity
.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableLongChunk
Take aWritableLongChunk
of at least the specifiedcapacity
. The result belongs to the caller untilclosed
.- Parameters:
capacity
- The minimum capacity for the result- Returns:
- A
WritableLongChunk
of at least the specifiedcapacity
that belongs to the caller untilclosed
-
takeResettableLongChunk
Take aResettableLongChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableLongChunk
that belongs to the caller untilclosed
-
takeResettableWritableLongChunk
Take aResettableWritableLongChunk
. The result belongs to the caller untilclosed
.- Returns:
- A
ResettableWritableLongChunk
that belongs to the caller untilclosed
-