org.apache.hadoop.hbase.thrift
Class HbaseHandlerMetricsProxy
java.lang.Object
org.apache.hadoop.hbase.thrift.HbaseHandlerMetricsProxy
- All Implemented Interfaces:
- InvocationHandler
@InterfaceAudience.Private
public class HbaseHandlerMetricsProxy
- extends Object
- implements InvocationHandler
Converts a Hbase.Iface using InvocationHandler so that it reports process
time of each call to ThriftMetrics.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
newInstance
public static Hbase.Iface newInstance(Hbase.Iface handler,
ThriftMetrics metrics,
org.apache.hadoop.conf.Configuration conf)
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2015 The Apache Software Foundation. All rights reserved.