Class MetricsRegionServerSourceFactoryImpl
java.lang.Object
org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceFactoryImpl
- All Implemented Interfaces:
MetricsRegionServerSourceFactory
@Private
public class MetricsRegionServerSourceFactoryImpl
extends Object
implements MetricsRegionServerSourceFactory
Factory to create MetricsRegionServerSource when given a MetricsRegionServerWrapper
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIO(MetricsIOWrapper wrapper) Create a MetricsIOSource from a MetricsIOWrapper.createRegion(MetricsRegionWrapper wrapper) Create a MetricsRegionSource from a MetricsRegionWrapper.createServer(MetricsRegionServerWrapper regionServerWrapper) Given a wrapper create a MetricsRegionServerSource.createTable(String table, MetricsTableWrapperAggregate wrapper) Create a MetricsTableSource from a MetricsTableWrapper.createUser(String shortUserName) Create a MetricsUserSource from a userGet a MetricsHeapMemoryManagerSourceprivate MetricsRegionAggregateSourceImplGet a MetricsTableAggregateSourceReturn the singleton instance for MetricsUserAggregateSource
-
Constructor Details
-
MetricsRegionServerSourceFactoryImpl
public MetricsRegionServerSourceFactoryImpl()
-
-
Method Details
-
getRegionAggregate
-
getUserAggregate
Description copied from interface:MetricsRegionServerSourceFactoryReturn the singleton instance for MetricsUserAggregateSource- Specified by:
getUserAggregatein interfaceMetricsRegionServerSourceFactory- Returns:
- A metrics user aggregate source
-
getTableAggregate
Description copied from interface:MetricsRegionServerSourceFactoryGet a MetricsTableAggregateSource- Specified by:
getTableAggregatein interfaceMetricsRegionServerSourceFactory- Returns:
- A metrics table aggregate source
-
getHeapMemoryManager
Description copied from interface:MetricsRegionServerSourceFactoryGet a MetricsHeapMemoryManagerSource- Specified by:
getHeapMemoryManagerin interfaceMetricsRegionServerSourceFactory- Returns:
- A metrics heap memory manager source
-
createServer
Description copied from interface:MetricsRegionServerSourceFactoryGiven a wrapper create a MetricsRegionServerSource.- Specified by:
createServerin interfaceMetricsRegionServerSourceFactory- Parameters:
regionServerWrapper- The wrapped region server- Returns:
- a Metrics Source.
-
createRegion
Description copied from interface:MetricsRegionServerSourceFactoryCreate a MetricsRegionSource from a MetricsRegionWrapper.- Specified by:
createRegionin interfaceMetricsRegionServerSourceFactory- Parameters:
wrapper- The wrapped region- Returns:
- A metrics region source
-
createTable
Description copied from interface:MetricsRegionServerSourceFactoryCreate a MetricsTableSource from a MetricsTableWrapper.- Specified by:
createTablein interfaceMetricsRegionServerSourceFactory- Parameters:
table- The table namewrapper- The wrapped table aggregate- Returns:
- A metrics table source
-
createIO
Description copied from interface:MetricsRegionServerSourceFactoryCreate a MetricsIOSource from a MetricsIOWrapper.- Specified by:
createIOin interfaceMetricsRegionServerSourceFactory- Returns:
- A metrics IO source
-
createUser
Description copied from interface:MetricsRegionServerSourceFactoryCreate a MetricsUserSource from a user- Specified by:
createUserin interfaceMetricsRegionServerSourceFactory- Returns:
- A metrics user source
-