All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.chunk.util.pools.ShortChunkPool Maven / Gradle / Ivy

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.ResettableShortChunk;
import io.deephaven.chunk.ResettableReadOnlyChunk;
import io.deephaven.chunk.ResettableWritableShortChunk;
import io.deephaven.chunk.ResettableWritableChunk;
import io.deephaven.chunk.WritableShortChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.attributes.Any;
import org.jetbrains.annotations.NotNull;

public interface ShortChunkPool {

    ChunkPool asChunkPool();

     WritableShortChunk takeWritableShortChunk(int capacity);

    void giveWritableShortChunk(@NotNull WritableShortChunk writableShortChunk);

     ResettableShortChunk takeResettableShortChunk();

    void giveResettableShortChunk(@NotNull ResettableShortChunk resettableShortChunk);

     ResettableWritableShortChunk takeResettableWritableShortChunk();

    void giveResettableWritableShortChunk(@NotNull ResettableWritableShortChunk resettableWritableShortChunk);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy