private boolean isTooLarge(RpcCall call, long responseSize, long responseBlockSize) {
    long warnResponseSize = call.getParam() instanceof ClientProtos.ScanRequest
      ? warnScanResponseSize
      : this.warnResponseSize;
    return (warnResponseSize > -1
      && (responseSize > warnResponseSize || responseBlockSize > warnResponseSize));
  }
Logs an RPC response to the LOG file, producing valid JSON objects for client Operations.
@param param             The parameters received in the call.
@param methodName        The name of the method invoked
@param call              The string representation of the call
@param tooLarge          To indicate if the event is tooLarge
@param tooSlow           To indicate if the event is tooSlow
@param clientAddress     The address of the client who made this call.
@param startTime         The time that the call was initiated, in ms.
@param processingTime    The duration that the call took to run, in ms.
@param qTime             The duration that the call spent on the queue prior to being
                         initiated, in ms.
@param responseSize      The size in bytes of the response buffer.
@param blockBytesScanned The size of block bytes scanned to retrieve the response.
@param userName          UserName of the current RPC Call
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java