Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
Modifier and Type | Method and Description |
---|---|
static MetricsConnection.CallStats |
MetricsConnection.newCallStats()
Produce an instance of
MetricsConnection.CallStats for clients to attach to RPCs. |
Modifier and Type | Method and Description |
---|---|
void |
MetricsConnection.updateRpc(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message param,
MetricsConnection.CallStats stats)
Report RPC context to metrics system.
|
void |
MetricsConnection.CallTracker.updateRpc(MetricsConnection.CallStats stats) |
private void |
MetricsConnection.updateRpcGeneric(com.google.protobuf.Descriptors.MethodDescriptor method,
MetricsConnection.CallStats stats)
Update call stats for non-critical-path methods
|
Modifier and Type | Field and Description |
---|---|
(package private) MetricsConnection.CallStats |
Call.callStats |
(package private) MetricsConnection.CallStats |
AsyncCall.callStats |
Modifier and Type | Method and Description |
---|---|
protected Pair<com.google.protobuf.Message,CellScanner> |
RpcClientImpl.call(PayloadCarryingRpcController pcrc,
com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
com.google.protobuf.Message returnType,
User ticket,
InetSocketAddress addr,
MetricsConnection.CallStats callStats)
Make a call, passing
param , to the IPC server running at
address which is servicing the protocol protocol,
with the ticket credentials, returning the value. |
protected Pair<com.google.protobuf.Message,CellScanner> |
AsyncRpcClient.call(PayloadCarryingRpcController pcrc,
com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
com.google.protobuf.Message returnType,
User ticket,
InetSocketAddress addr,
MetricsConnection.CallStats callStats)
Make a call, passing
param , to the IPC server running at
address which is servicing the protocol protocol,
with the ticket credentials, returning the value. |
protected abstract Pair<com.google.protobuf.Message,CellScanner> |
AbstractRpcClient.call(PayloadCarryingRpcController pcrc,
com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
com.google.protobuf.Message returnType,
User ticket,
InetSocketAddress isa,
MetricsConnection.CallStats callStats)
Make a call, passing
param , to the IPC server running at
address which is servicing the protocol protocol,
with the ticket credentials, returning the value. |
io.netty.util.concurrent.Promise<com.google.protobuf.Message> |
AsyncRpcChannel.callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
PayloadCarryingRpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype,
MetricsConnection.CallStats callStats)
Calls method on channel
|
Constructor and Description |
---|
AsyncCall(io.netty.channel.EventLoop eventLoop,
int connectId,
com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
PayloadCarryingRpcController controller,
com.google.protobuf.Message responseDefaultType,
MetricsConnection.CallStats callStats)
Constructor
|
Call(int id,
com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.Message param,
CellScanner cells,
com.google.protobuf.Message responseDefaultType,
int timeout,
MetricsConnection.CallStats callStats) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.