public synchronized ThriftClient getThriftClient ( ) { if ( mode . api != ConnectionAPI . THRIFT_SMART ) return getSimpleThriftClient ( ) ; if ( tclient == null ) tclient = getSmartThriftClient ( ) ; return tclient ; }
Thrift client connection