public class TimedProcessor extends Object implements org.apache.thrift.TProcessor
TProcessor which tracks the duration of an RPC and adds it to the metrics subsystem.| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(org.apache.thrift.protocol.TProtocol in,
org.apache.thrift.protocol.TProtocol out) |
public TimedProcessor(AccumuloConfiguration conf, org.apache.thrift.TProcessor next, String serverName, String threadName)
public TimedProcessor(MetricsFactory factory, org.apache.thrift.TProcessor next, String serverName, String threadName)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.