Class TimedProcessor

  • All Implemented Interfaces:
    org.apache.thrift.TProcessor

    public class TimedProcessor
    extends Object
    implements org.apache.thrift.TProcessor
    A TProcessor which tracks the duration of an RPC and adds it to the metrics subsystem.
    • Method Detail

      • process

        public boolean process​(org.apache.thrift.protocol.TProtocol in,
                               org.apache.thrift.protocol.TProtocol out)
                        throws org.apache.thrift.TException
        Specified by:
        process in interface org.apache.thrift.TProcessor
        Throws:
        org.apache.thrift.TException