Uses of Class
org.apache.cassandra.io.compress.BufferType
-
Packages that use BufferType Package Description 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.io.compress
Methods in org.apache.cassandra.io.compress that return BufferType Modifier and Type Method Description BufferTypeDeflateCompressor. preferredBufferType()BufferTypeICompressor. preferredBufferType()Returns the preferred (most efficient) buffer type for this compressor.BufferTypeLZ4Compressor. preferredBufferType()BufferTypeNoopCompressor. preferredBufferType()BufferTypeSnappyCompressor. preferredBufferType()BufferTypeZstdCompressor. preferredBufferType()Return the preferred BufferTypestatic BufferTypeBufferType. typeOf(java.nio.ByteBuffer buffer)static BufferTypeBufferType. 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 Description booleanDeflateCompressor. supports(BufferType bufferType)booleanICompressor. supports(BufferType bufferType)Checks if the given buffer would be supported by the compressor.booleanLZ4Compressor. supports(BufferType bufferType)booleanNoopCompressor. supports(BufferType bufferType)booleanSnappyCompressor. supports(BufferType bufferType)booleanZstdCompressor. supports(BufferType bufferType)Check whether the given BufferType is supported -
Uses of BufferType in org.apache.cassandra.io.util
Methods in org.apache.cassandra.io.util that return BufferType Modifier and Type Method Description BufferTypeSequentialWriterOption. bufferType()BufferTypeChunkReader. preferredBufferType()Specifies type of buffer the caller should attempt to give.BufferTypeCompressedChunkReader. preferredBufferType()Methods in org.apache.cassandra.io.util with parameters of type BufferType Modifier and Type Method Description FileHandle.BuilderFileHandle.Builder. bufferType(BufferType bufferType)Set the buffer type (on heap or off heap) to use (if appropriate).SequentialWriterOption.BuilderSequentialWriterOption.Builder. bufferType(BufferType bufferType)Constructors in org.apache.cassandra.io.util with parameters of type BufferType Constructor Description SimpleCachedBufferPool(int maxBufferPoolSize, int bufferSize, BufferType preferredReusableBufferType)ThreadLocalByteBufferHolder(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 Description static java.nio.ByteBufferByteBufferUtil. ensureCapacity(java.nio.ByteBuffer buf, int outputLength, boolean allowBufferResize, BufferType bufferType)Ensurebufis large enough foroutputLength. -
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 Description java.nio.ByteBufferBufferPool. get(int size, BufferType bufferType)java.nio.ByteBufferBufferPool. getAtLeast(int size, BufferType bufferType)
-