@Override
    protected void doInAfterTrace(SpanEventRecorder recorder, Object target, Object[] args, Object result, Throwable throwable) {
        recorder.recordApi(getMethodDescriptor());
        if (throwable == null && this.traceServiceResult) {
            if (args.length == 2 && (args[0] instanceof TBase)) {
                String resultString = getResult((TBase<?, ?>)args[0]);
                recorder.recordAttribute(ThriftConstants.THRIFT_RESULT, resultString);
            }
        } else {
            recorder.recordException(throwable);
        }
    }
This interceptor records the response received from the server for synchronous client calls.
<p>
Based on Thrift 0.8.0+

@author HyunGil Jeong
agent-module/plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/interceptor/client/TServiceClientReceiveBaseInterceptor.java