HBASE-6282 The introspection, etc. of objects in the RPC has to be handled for PB objects

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1409648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-11-15 05:26:17 +00:00
parent e34f3890f3
commit f38ee24ed0
1 changed files with 9 additions and 8 deletions

View File

@ -366,10 +366,11 @@ class ProtobufRpcEngine implements RpcEngine {
int qTime = (int) (startTime-receiveTime);
if (TRACELOG.isDebugEnabled()) {
TRACELOG.debug("Call #" + CurCall.get().id +
"; Served: " + protocol.getSimpleName()+"#"+method.getName() +
" queueTime=" + qTime +
" processingTime=" + processingTime +
" contents=" + param.toString());
"; served=" + protocol.getSimpleName() + "#" + method.getName() +
", queueTime=" + qTime +
", processingTime=" + processingTime +
", request=" + param.toString() +
" response=" + result.toString());
}
rpcMetrics.rpcQueueTime.inc(qTime);
rpcMetrics.rpcProcessingTime.inc(processingTime);