Top Description Fields Constructors Methods
org.xerial.snappy.buffer

public Class DefaultBufferAllocator

extends Object
implements BufferAllocator
Class Inheritance
All Implemented Interfaces
org.xerial.snappy.buffer.BufferAllocator

Simple buffer allocator, which does not reuse the allocated buffer

Field Summary

Modifier and TypeField and Description
public static BufferAllocatorFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoryback to summary
public static BufferAllocatorFactory factory

Constructor Detail

DefaultBufferAllocatorback to summary
public DefaultBufferAllocator()

Method Detail

allocateback to summary
public byte[] allocate(int size)

Implements org.xerial.snappy.buffer.BufferAllocator.allocate.

Annotations
@Override
releaseback to summary
public void release(byte[] buffer)

Implements org.xerial.snappy.buffer.BufferAllocator.release.

Annotations
@Override