Uses of Enum Class
org.apache.cassandra.io.compress.BufferType
Packages that use BufferType
Package
Description
-
Uses of BufferType in org.apache.cassandra.config
Methods in org.apache.cassandra.config that return BufferType -
Uses of BufferType in org.apache.cassandra.db.memtable
Fields in org.apache.cassandra.db.memtable declared as BufferTypeModifier and TypeFieldDescriptionstatic final BufferTypeTrieMemtable.BUFFER_TYPEBuffer type to use for memtable tries (on- vs off-heap) -
Uses of BufferType in org.apache.cassandra.db.tries
Constructors in org.apache.cassandra.db.tries with parameters of type BufferType -
Uses of BufferType in org.apache.cassandra.io.compress
Methods in org.apache.cassandra.io.compress that return BufferTypeModifier and TypeMethodDescriptionDeflateCompressor.preferredBufferType()ICompressor.preferredBufferType()Returns the preferred (most efficient) buffer type for this compressor.LZ4Compressor.preferredBufferType()NoopCompressor.preferredBufferType()SnappyCompressor.preferredBufferType()ZstdCompressor.preferredBufferType()Return the preferred BufferTypestatic BufferTypeBufferType.typeOf(ByteBuffer buffer) static BufferTypeReturns the enum constant of this class with the specified name.static BufferType[]BufferType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.cassandra.io.compress with parameters of type BufferTypeModifier and TypeMethodDescriptionbooleanDeflateCompressor.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 BufferTypeModifier and TypeMethodDescriptionSequentialWriterOption.bufferType()ChunkReader.preferredBufferType()Specifies type of buffer the caller should attempt to give.CompressedChunkReader.preferredBufferType()Methods in org.apache.cassandra.io.util with parameters of type BufferTypeModifier and TypeMethodDescriptionFileHandle.Builder.bufferType(BufferType bufferType) Set the buffer type (on heap or off heap) to use (if appropriate).SequentialWriterOption.Builder.bufferType(BufferType bufferType) Constructors in org.apache.cassandra.io.util with parameters of type BufferTypeModifierConstructorDescriptionSimpleCachedBufferPool(int maxBufferPoolSize, int bufferSize, BufferType preferredReusableBufferType) ThreadLocalByteBufferHolder(BufferType bufferType) ThreadLocalReadAheadBuffer(ChannelProxy channel, int bufferSize, BufferType bufferType) -
Uses of BufferType in org.apache.cassandra.utils
Methods in org.apache.cassandra.utils with parameters of type BufferTypeModifier and TypeMethodDescriptionstatic ByteBufferByteBufferUtil.ensureCapacity(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 BufferTypeModifier and TypeMethodDescriptionBufferPool.get(int size, BufferType bufferType) BufferPool.getAtLeast(int size, BufferType bufferType)