JavaScript is disabled on your browser.
netty-xnio-transport 0.1.1.CR2
java.lang.Object
io.netty.buffer.AbstractByteBufAllocator
org.xnio.netty.buffer.XnioByteBufAllocator
All Implemented Interfaces:
io.netty.buffer.ByteBufAllocator
public final class XnioByteBufAllocator
extends io.netty.buffer.AbstractByteBufAllocator
ByteBufAllocator
which wraps an existing ByteBufferSlicePool
and use it to allocate direct
ByteBuf
. If the requested ByteBuf
is to big it will be allocated directly and not pooled at all.
Author:
Norman Maurer
Method Summary
Methods
Modifier and Type
Method and Description
boolean
isDirectBufferPooled ()
protected io.netty.buffer.ByteBuf
newDirectBuffer (int initialCapacity,
int maxCapacity)
protected io.netty.buffer.ByteBuf
newHeapBuffer (int initialCapacity,
int maxCapacity)
Methods inherited from class io.netty.buffer.AbstractByteBufAllocator
buffer, buffer, buffer, compositeBuffer, compositeBuffer, compositeDirectBuffer, compositeDirectBuffer, compositeHeapBuffer, compositeHeapBuffer, directBuffer, directBuffer, directBuffer, heapBuffer, heapBuffer, heapBuffer, ioBuffer, ioBuffer, ioBuffer, toLeakAwareBuffer, toString
netty-xnio-transport 0.1.1.CR2
Copyright © 2013–2014 JBoss, a division of Red Hat . All rights reserved.