Interface ByteChunkPool

All Known Implementing Classes:
ByteChunkSoftPool, MultiChunkPool

public interface ByteChunkPool
  • Method Details

    • asChunkPool

      ChunkPool asChunkPool()
    • takeWritableByteChunk

      <ATTR extends Any> WritableByteChunk<ATTR> takeWritableByteChunk(int capacity)
    • giveWritableByteChunk

      void giveWritableByteChunk(@NotNull @NotNull WritableByteChunk<?> writableByteChunk)
    • takeResettableByteChunk

      <ATTR extends Any> ResettableByteChunk<ATTR> takeResettableByteChunk()
    • giveResettableByteChunk

      void giveResettableByteChunk(@NotNull @NotNull ResettableByteChunk<?> resettableByteChunk)
    • takeResettableWritableByteChunk

      <ATTR extends Any> ResettableWritableByteChunk<ATTR> takeResettableWritableByteChunk()
    • giveResettableWritableByteChunk

      void giveResettableWritableByteChunk(@NotNull @NotNull ResettableWritableByteChunk<?> resettableWritableByteChunk)