Package org.apache.hadoop.hbase.thrift
Class HbaseHandlerMetricsProxy
java.lang.Object
org.apache.hadoop.hbase.thrift.HbaseHandlerMetricsProxy
- All Implemented Interfaces:
- InvocationHandler
Converts a Hbase.Iface using InvocationHandler so that it reports process time of each call to
 ThriftMetrics.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateHbaseHandlerMetricsProxy(Object handler, ThriftMetrics metrics, org.apache.hadoop.conf.Configuration conf) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.thrift.generated.Hbase.IfacenewInstance(org.apache.hadoop.hbase.thrift.generated.Hbase.Iface handler, ThriftMetrics metrics, org.apache.hadoop.conf.Configuration conf) static org.apache.hadoop.hbase.thrift2.generated.THBaseService.IfacenewInstance(org.apache.hadoop.hbase.thrift2.generated.THBaseService.Iface handler, ThriftMetrics metrics, org.apache.hadoop.conf.Configuration conf) private static longnow()
- 
Field Details- 
handler
- 
metrics
 
- 
- 
Constructor Details- 
HbaseHandlerMetricsProxyprivate HbaseHandlerMetricsProxy(Object handler, ThriftMetrics metrics, org.apache.hadoop.conf.Configuration conf) 
 
- 
- 
Method Details- 
newInstancepublic static org.apache.hadoop.hbase.thrift.generated.Hbase.Iface newInstance(org.apache.hadoop.hbase.thrift.generated.Hbase.Iface handler, ThriftMetrics metrics, org.apache.hadoop.conf.Configuration conf) 
- 
newInstancepublic static org.apache.hadoop.hbase.thrift2.generated.THBaseService.Iface newInstance(org.apache.hadoop.hbase.thrift2.generated.THBaseService.Iface handler, ThriftMetrics metrics, org.apache.hadoop.conf.Configuration conf) 
- 
invoke- Specified by:
- invokein interface- InvocationHandler
- Throws:
- Throwable
 
- 
now
 
-