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 aWritableLongChunkof at least the specifiedcapacity.
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableLongChunk
Take aWritableLongChunkof at least the specifiedcapacity. The result belongs to the caller untilclosed.- Parameters:
capacity- The minimum capacity for the result- Returns:
- A
WritableLongChunkof at least the specifiedcapacitythat belongs to the caller untilclosed
-
takeResettableLongChunk
Take aResettableLongChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableLongChunkthat belongs to the caller untilclosed
-
takeResettableWritableLongChunk
Take aResettableWritableLongChunk. The result belongs to the caller untilclosed.- Returns:
- A
ResettableWritableLongChunkthat belongs to the caller untilclosed
-