XNIO API 3.0.7.GA

Uses of Interface
org.xnio.BufferAllocator

Packages that use BufferAllocator
org.xnio The main API package for XNIO. 
 

Uses of BufferAllocator in org.xnio
 

Fields in org.xnio declared as BufferAllocator
static BufferAllocator<ByteBuffer> BufferAllocator.BYTE_BUFFER_ALLOCATOR
          A simple allocator for heap-array-backed byte buffers.
static BufferAllocator<ByteBuffer> BufferAllocator.DIRECT_BYTE_BUFFER_ALLOCATOR
          A simple allocator for direct byte buffers.
 

Methods in org.xnio that return BufferAllocator
static BufferAllocator<ByteBuffer> Buffers.sliceAllocator(ByteBuffer buffer)
          A buffer allocator which allocates slices off of the given buffer.
 

Methods in org.xnio with parameters of type BufferAllocator
static
<B extends Buffer>
Pool<B>
Buffers.allocatedBufferPool(BufferAllocator<B> allocator, int size)
          A buffer pool which allocates a new buffer on every allocate request, and discards buffers on free.
static ByteBuffer Buffers.copy(ByteBuffer buffer, int sliceSize, BufferAllocator<ByteBuffer> allocator)
          Copy a portion of the buffer into a newly allocated buffer.
 

Constructors in org.xnio with parameters of type BufferAllocator
ByteBufferSlicePool(BufferAllocator<ByteBuffer> allocator, int bufferSize, int maxRegionSize)
          Construct a new instance.
 


XNIO API 3.0.7.GA

Copyright © 2010 JBoss, a division of Red Hat, Inc.