io.deephaven.chunk.util.pools.ByteChunkPool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-chunk Show documentation
Show all versions of deephaven-engine-chunk Show documentation
Engine Chunks: Array-like data structures for dense, efficient data movement
The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY
// ****** Edit CharChunkPool and run "./gradlew replicateSourcesAndChunks" to regenerate
//
// @formatter:off
package io.deephaven.chunk.util.pools;
import io.deephaven.chunk.ResettableByteChunk;
import io.deephaven.chunk.ResettableReadOnlyChunk;
import io.deephaven.chunk.ResettableWritableByteChunk;
import io.deephaven.chunk.ResettableWritableChunk;
import io.deephaven.chunk.WritableByteChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.attributes.Any;
import org.jetbrains.annotations.NotNull;
public interface ByteChunkPool {
ChunkPool asChunkPool();
WritableByteChunk takeWritableByteChunk(int capacity);
void giveWritableByteChunk(@NotNull WritableByteChunk> writableByteChunk);
ResettableByteChunk takeResettableByteChunk();
void giveResettableByteChunk(@NotNull ResettableByteChunk> resettableByteChunk);
ResettableWritableByteChunk takeResettableWritableByteChunk();
void giveResettableWritableByteChunk(@NotNull ResettableWritableByteChunk> resettableWritableByteChunk);
}