Package io.deephaven.chunk.util.pools
Interface ObjectChunkPool
- All Known Implementing Classes:
MultiChunkPool
,ObjectChunkSoftPool
public interface ObjectChunkPool
-
Method Summary
Modifier and TypeMethodDescriptionvoid
giveResettableObjectChunk
(@NotNull ResettableObjectChunk<?, ?> resettableObjectChunk) void
giveResettableWritableObjectChunk
(@NotNull ResettableWritableObjectChunk<?, ?> resettableWritableObjectChunk) void
giveWritableObjectChunk
(@NotNull WritableObjectChunk<?, ?> writableObjectChunk) <TYPE,
ATTR extends Any>
ResettableObjectChunk<TYPE,ATTR> <TYPE,
ATTR extends Any>
ResettableWritableObjectChunk<TYPE,ATTR> <TYPE,
ATTR extends Any>
WritableObjectChunk<TYPE,ATTR> takeWritableObjectChunk
(int capacity)
-
Method Details
-
asChunkPool
ChunkPool asChunkPool() -
takeWritableObjectChunk
-
giveWritableObjectChunk
-
takeResettableObjectChunk
-
giveResettableObjectChunk
-
takeResettableWritableObjectChunk
<TYPE,ATTR extends Any> ResettableWritableObjectChunk<TYPE,ATTR> takeResettableWritableObjectChunk() -
giveResettableWritableObjectChunk
void giveResettableWritableObjectChunk(@NotNull @NotNull ResettableWritableObjectChunk<?, ?> resettableWritableObjectChunk)
-