Package org.apache.accumulo.server.rpc
Class TimedProcessor
- java.lang.Object
-
- org.apache.accumulo.server.rpc.TimedProcessor
-
- All Implemented Interfaces:
org.apache.thrift.TProcessor
public class TimedProcessor extends Object implements org.apache.thrift.TProcessor
ATProcessor
which tracks the duration of an RPC and adds it to the metrics subsystem.
-
-
Constructor Summary
Constructors Constructor Description TimedProcessor(AccumuloConfiguration conf, org.apache.thrift.TProcessor next, String serverName, String threadName)
TimedProcessor(MetricsFactory factory, org.apache.thrift.TProcessor next, String serverName, String threadName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(org.apache.thrift.protocol.TProtocol in, org.apache.thrift.protocol.TProtocol out)
-
-
-
Constructor Detail
-
TimedProcessor
public TimedProcessor(AccumuloConfiguration conf, org.apache.thrift.TProcessor next, String serverName, String threadName)
-
TimedProcessor
public TimedProcessor(MetricsFactory factory, org.apache.thrift.TProcessor next, String serverName, String threadName)
-
-