Package | Description |
---|---|
org.apache.hadoop.hbase.io | |
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
Modifier and Type | Field and Description |
---|---|
private ByteBufferPool |
ByteBufferListOutputStream.pool |
Constructor and Description |
---|
ByteBufferListOutputStream(ByteBufferPool pool) |
Modifier and Type | Field and Description |
---|---|
protected ByteBufferPool |
ServerCall.reservoir |
protected ByteBufferPool |
RpcServer.reservoir |
Modifier and Type | Method and Description |
---|---|
(package private) static Pair<ByteBuff,RpcServer.CallCleanup> |
RpcServer.allocateByteBuffToReadInto(ByteBufferPool pool,
int minSizeForPoolUse,
int reqLen)
This is extracted to a static method for better unit testing.
|
ByteBufferListOutputStream |
CellBlockBuilder.buildCellBlockStream(Codec codec,
org.apache.hadoop.io.compress.CompressionCodec compressor,
CellScanner cellScanner,
ByteBufferPool pool)
Puts CellScanner Cells into a cell block using passed in
codec and/or
compressor . |
(package private) static int |
RpcServer.getMinSizeForReservoirUse(ByteBufferPool pool) |
Constructor and Description |
---|
NettyServerCall(int id,
org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service,
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md,
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
CellScanner cellScanner,
NettyServerRpcConnection connection,
long size,
InetAddress remoteAddress,
long receiveTime,
int timeout,
ByteBufferPool reservoir,
CellBlockBuilder cellBlockBuilder,
RpcServer.CallCleanup reqCleanup) |
ServerCall(int id,
org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service,
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md,
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
CellScanner cellScanner,
T connection,
long size,
InetAddress remoteAddress,
long receiveTime,
int timeout,
ByteBufferPool reservoir,
CellBlockBuilder cellBlockBuilder,
RpcServer.CallCleanup reqCleanup) |
SimpleServerCall(int id,
org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service,
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md,
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
CellScanner cellScanner,
SimpleServerRpcConnection connection,
long size,
InetAddress remoteAddress,
long receiveTime,
int timeout,
ByteBufferPool reservoir,
CellBlockBuilder cellBlockBuilder,
RpcServer.CallCleanup reqCleanup,
SimpleRpcServerResponder responder) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.