@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.
|
MetricsUserSource |
createUser(String shortUserName)
Create a MetricsUserSource from a user
|
MetricsHeapMemoryManagerSource |
getHeapMemoryManager()
Get a MetricsHeapMemoryManagerSource
|
private MetricsRegionAggregateSourceImpl |
getRegionAggregate() |
MetricsTableAggregateSourceImpl |
getTableAggregate()
Get a MetricsTableAggregateSource
|
MetricsUserAggregateSourceImpl |
getUserAggregate()
Return the singleton instance for MetricsUserAggregateSource
|
public MetricsRegionServerSourceFactoryImpl()
private MetricsRegionAggregateSourceImpl getRegionAggregate()
public MetricsUserAggregateSourceImpl getUserAggregate()
MetricsRegionServerSourceFactory
getUserAggregate
in interface MetricsRegionServerSourceFactory
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
public MetricsUserSource createUser(String shortUserName)
MetricsRegionServerSourceFactory
createUser
in interface MetricsRegionServerSourceFactory
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.