Package org.apache.hadoop.hbase.ipc
Class SimpleByteBufAllocator
java.lang.Object
org.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
org.apache.hadoop.hbase.ipc.SimpleByteBufAllocator
- All Implemented Interfaces:
 org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocator
public class SimpleByteBufAllocator
extends org.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
implements org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocator
A custom byte buf allocator for TestNettyRpcServer.
- 
Field Summary
FieldsFields inherited from interface org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocator
DEFAULT - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected org.apache.hbase.thirdparty.io.netty.buffer.ByteBufnewDirectBuffer(int initialCapacity, int maxCapacity) protected org.apache.hbase.thirdparty.io.netty.buffer.ByteBufnewHeapBuffer(int initialCapacity, int maxCapacity) Methods inherited from class org.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
buffer, buffer, buffer, calculateNewCapacity, compositeBuffer, compositeBuffer, compositeDirectBuffer, compositeDirectBuffer, compositeHeapBuffer, compositeHeapBuffer, directBuffer, directBuffer, directBuffer, heapBuffer, heapBuffer, heapBuffer, ioBuffer, ioBuffer, ioBuffer, toLeakAwareBuffer, toLeakAwareBuffer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocator
buffer, buffer, buffer, calculateNewCapacity, compositeBuffer, compositeBuffer, compositeDirectBuffer, compositeDirectBuffer, compositeHeapBuffer, compositeHeapBuffer, directBuffer, directBuffer, directBuffer, heapBuffer, heapBuffer, heapBuffer, ioBuffer, ioBuffer, ioBuffer 
- 
Field Details
- 
LOG
 
 - 
 - 
Constructor Details
- 
SimpleByteBufAllocator
public SimpleByteBufAllocator() 
 - 
 - 
Method Details
- 
isDirectBufferPooled
- Specified by:
 isDirectBufferPooledin interfaceorg.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocator
 - 
newHeapBuffer
protected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf newHeapBuffer(int initialCapacity, int maxCapacity) - Specified by:
 newHeapBufferin classorg.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
 - 
newDirectBuffer
protected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf newDirectBuffer(int initialCapacity, int maxCapacity) - Specified by:
 newDirectBufferin classorg.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
 
 -