protected boolean isTcpNoDelay() {
    return tcpNoDelay;
  }
Encapsulate the ugly casting and RuntimeException conversion in private method.
@return Codec to use on this client.
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java