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 SummaryFieldsFields inherited from interface org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocatorDEFAULT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractByteBufAllocatorbuffer, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocatorbuffer, buffer, buffer, calculateNewCapacity, compositeBuffer, compositeBuffer, compositeDirectBuffer, compositeDirectBuffer, compositeHeapBuffer, compositeHeapBuffer, directBuffer, directBuffer, directBuffer, heapBuffer, heapBuffer, heapBuffer, ioBuffer, ioBuffer, ioBuffer
- 
Field Details- 
LOG
 
- 
- 
Constructor Details- 
SimpleByteBufAllocatorpublic SimpleByteBufAllocator()
 
- 
- 
Method Details- 
isDirectBufferPooled- Specified by:
- isDirectBufferPooledin interface- org.apache.hbase.thirdparty.io.netty.buffer.ByteBufAllocator
 
- 
newHeapBufferprotected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf newHeapBuffer(int initialCapacity, int maxCapacity) - Specified by:
- newHeapBufferin class- org.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
 
- 
newDirectBufferprotected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf newDirectBuffer(int initialCapacity, int maxCapacity) - Specified by:
- newDirectBufferin class- org.apache.hbase.thirdparty.io.netty.buffer.AbstractByteBufAllocator
 
 
-