Interface MetricsRegionServerSourceFactory
- All Known Implementing Classes:
MetricsRegionServerSourceFactoryImpl
Interface of a factory to create Metrics Sources used inside of regionservers.
-
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 MetricsHeapMemoryManagerSourceGet a MetricsTableAggregateSourceReturn the singleton instance for MetricsUserAggregateSource
-
Method Details
-
createServer
Given a wrapper create a MetricsRegionServerSource.- Parameters:
regionServerWrapper
- The wrapped region server- Returns:
- a Metrics Source.
-
createRegion
Create a MetricsRegionSource from a MetricsRegionWrapper.- Parameters:
wrapper
- The wrapped region- Returns:
- A metrics region source
-
createUser
Create a MetricsUserSource from a user- Returns:
- A metrics user source
-
getUserAggregate
Return the singleton instance for MetricsUserAggregateSource- Returns:
- A metrics user aggregate source
-
createTable
Create a MetricsTableSource from a MetricsTableWrapper.- Parameters:
table
- The table namewrapper
- The wrapped table aggregate- Returns:
- A metrics table source
-
getTableAggregate
Get a MetricsTableAggregateSource- Returns:
- A metrics table aggregate source
-
getHeapMemoryManager
Get a MetricsHeapMemoryManagerSource- Returns:
- A metrics heap memory manager source
-
createIO
Create a MetricsIOSource from a MetricsIOWrapper.- Returns:
- A metrics IO source
-