Package org.apache.hadoop.hbase.io
Class MetricsIO
java.lang.Object
org.apache.hadoop.hbase.io.MetricsIO
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static MetricsIOprivate final MetricsIOSourceprivate final MetricsIOWrapper
- 
Constructor SummaryConstructorsConstructorDescriptionMetricsIO(MetricsIOSource source, MetricsIOWrapper wrapper) MetricsIO(MetricsIOWrapper wrapper) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic MetricsIOGet a static instance for the MetricsIO so that accessors access the same instance.voidvoidupdateFsPreadTime(long t) voidupdateFsReadTime(long t) voidupdateFsWriteTime(long t) 
- 
Field Details- 
instance
- 
source
- 
wrapper
 
- 
- 
Constructor Details- 
MetricsIOMetricsIO(MetricsIOWrapper wrapper) 
- 
MetricsIOMetricsIO(MetricsIOSource source, MetricsIOWrapper wrapper) 
 
- 
- 
Method Details- 
getInstanceGet a static instance for the MetricsIO so that accessors access the same instance. We want to lazy initialize so that correct process name is in place. See HBASE-27966 for more details.
- 
getMetricsSource
- 
getWrapper
- 
updateFsReadTime
- 
updateFsPreadTime
- 
updateFsWriteTime
- 
incrSlowFsRead
 
-