@InterfaceAudience.Private public class MetricsRegionServerSourceFactoryImpl extends Object implements MetricsRegionServerSourceFactory
Modifier and Type | Class and Description |
---|---|
static class |
MetricsRegionServerSourceFactoryImpl.FactoryStorage |
Constructor and Description |
---|
MetricsRegionServerSourceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
MetricsIOSource |
createIO(MetricsIOWrapper wrapper)
Create a MetricsIOSource from a MetricsIOWrapper.
|
MetricsRegionSource |
createRegion(MetricsRegionWrapper wrapper)
Create a MetricsRegionSource from a MetricsRegionWrapper.
|
MetricsRegionServerSource |
createServer(MetricsRegionServerWrapper regionServerWrapper)
Given a wrapper create a MetricsRegionServerSource.
|
MetricsTableSource |
createTable(String table,
MetricsTableWrapperAggregate wrapper)
Create a MetricsTableSource from a MetricsTableWrapper.
|
private MetricsRegionAggregateSourceImpl |
getAggregate() |
MetricsHeapMemoryManagerSource |
getHeapMemoryManager()
Get a MetricsHeapMemoryManagerSource
|
MetricsTableAggregateSourceImpl |
getTableAggregate()
Get a MetricsTableAggregateSource
|
public MetricsRegionServerSourceFactoryImpl()
private MetricsRegionAggregateSourceImpl getAggregate()
public MetricsTableAggregateSourceImpl getTableAggregate()
MetricsRegionServerSourceFactory
getTableAggregate
in interface MetricsRegionServerSourceFactory
public MetricsHeapMemoryManagerSource getHeapMemoryManager()
MetricsRegionServerSourceFactory
getHeapMemoryManager
in interface MetricsRegionServerSourceFactory
public MetricsRegionServerSource createServer(MetricsRegionServerWrapper regionServerWrapper)
MetricsRegionServerSourceFactory
createServer
in interface MetricsRegionServerSourceFactory
regionServerWrapper
- The wrapped region serverpublic MetricsRegionSource createRegion(MetricsRegionWrapper wrapper)
MetricsRegionServerSourceFactory
createRegion
in interface MetricsRegionServerSourceFactory
wrapper
- The wrapped regionpublic MetricsTableSource createTable(String table, MetricsTableWrapperAggregate wrapper)
MetricsRegionServerSourceFactory
createTable
in interface MetricsRegionServerSourceFactory
table
- The table namewrapper
- The wrapped table aggregatepublic MetricsIOSource createIO(MetricsIOWrapper wrapper)
MetricsRegionServerSourceFactory
createIO
in interface MetricsRegionServerSourceFactory
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.