## Uses of Class
org.apache.cassandra.io.compress.BufferType

- Packages that use BufferType
  Package | Description
  --- | ---
  org.apache.cassandra.db.commitlog |
  org.apache.cassandra.io.compress |
  org.apache.cassandra.io.util |
  org.apache.cassandra.utils |
  org.apache.cassandra.utils.memory |

- - ### Uses of BufferType in org.apache.cassandra.db.commitlog

    Methods in org.apache.cassandra.db.commitlog with parameters of type BufferType
    Modifier and Type | Method and Description
    --- | ---
    `java.nio.ByteBuffer` | SimpleCachedBufferPool.`createBuffer(BufferType bufferType)`
    `void` | SimpleCachedBufferPool.`setPreferredReusableBufferType(BufferType type)`

  - ### Uses of BufferType in org.apache.cassandra.io.compress

    Methods in org.apache.cassandra.io.compress that return BufferType
    Modifier and Type | Method and Description
    --- | ---
    `BufferType` | DeflateCompressor.`preferredBufferType()`
    `BufferType` | ICompressor.`preferredBufferType()` Returns the preferred (most efficient) buffer type for this compressor.
    `BufferType` | LZ4Compressor.`preferredBufferType()`
    `BufferType` | SnappyCompressor.`preferredBufferType()`
    `static BufferType` | BufferType.`typeOf(java.nio.ByteBuffer buffer)`
    `static BufferType` | BufferType.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static BufferType[]` | BufferType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.cassandra.io.compress with parameters of type BufferType
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DeflateCompressor.`supports(BufferType bufferType)`
    `boolean` | ICompressor.`supports(BufferType bufferType)` Checks if the given buffer would be supported by the compressor.
    `boolean` | LZ4Compressor.`supports(BufferType bufferType)`
    `boolean` | SnappyCompressor.`supports(BufferType bufferType)`

  - ### Uses of BufferType in org.apache.cassandra.io.util

    Methods in org.apache.cassandra.io.util that return BufferType
    Modifier and Type | Method and Description
    --- | ---
    `BufferType` | SequentialWriterOption.`bufferType()`
    `BufferType` | ChunkReader.`preferredBufferType()` Specifies type of buffer the caller should attempt to give.
    `BufferType` | CompressedChunkReader.`preferredBufferType()`

    Methods in org.apache.cassandra.io.util with parameters of type BufferType
    Modifier and Type | Method and Description
    --- | ---
    `FileHandle.Builder` | FileHandle.Builder.`bufferType(BufferType bufferType)` Set the buffer type (on heap or off heap) to use (if appropriate).
    `SequentialWriterOption.Builder` | SequentialWriterOption.Builder.`bufferType(BufferType bufferType)`

  - ### Uses of BufferType in org.apache.cassandra.utils

    Methods in org.apache.cassandra.utils with parameters of type BufferType
    Modifier and Type | Method and Description
    --- | ---
    `static java.nio.ByteBuffer` | ByteBufferUtil.`ensureCapacity(java.nio.ByteBuffer buf, int outputLength, boolean allowBufferResize, BufferType bufferType)` Ensure `buf` is large enough for `outputLength`.

  - ### Uses of BufferType in org.apache.cassandra.utils.memory

    Methods in org.apache.cassandra.utils.memory with parameters of type BufferType
    Modifier and Type | Method and Description
    --- | ---
    `static java.nio.ByteBuffer` | BufferPool.`get(int size, BufferType bufferType)`

Copyright © 2018 The Apache Software Foundation