commons
commons copied to clipboard
TMonitoredProcessor has some problems
position:com.twitter.common.thrift.monitoring.TMonitoredProcessor 1.when client transport is closed,code wrapped.process(in, out) will throws an exception even client donot invoke any service method.so this method can only monitor long-connect thrift client. 2.the time computer way is wrong,because long startNanos = System.nanoTime(); will execute even no thrift client invoke any service method.