@InterfaceAudience.Private public class MetricsThriftServerSourceFactoryImpl extends Object implements MetricsThriftServerSourceFactory
Modifier and Type | Class and Description |
---|---|
private static class |
MetricsThriftServerSourceFactoryImpl.FactoryStorage
A singleton used to make sure that only one thrift metrics source per server type is ever
created.
|
METRICS_DESCRIPTION, METRICS_NAME, THRIFT_ONE_JMX_CONTEXT, THRIFT_ONE_METRICS_CONTEXT, THRIFT_TWO_JMX_CONTEXT, THRIFT_TWO_METRICS_CONTEXT
Constructor and Description |
---|
MetricsThriftServerSourceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
MetricsThriftServerSource |
createThriftOneSource()
Create a Source for a thrift one server
|
MetricsThriftServerSource |
createThriftTwoSource()
Create a Source for a thrift two server
|
public MetricsThriftServerSourceFactoryImpl()
public MetricsThriftServerSource createThriftOneSource()
MetricsThriftServerSourceFactory
createThriftOneSource
in interface MetricsThriftServerSourceFactory
public MetricsThriftServerSource createThriftTwoSource()
MetricsThriftServerSourceFactory
createThriftTwoSource
in interface MetricsThriftServerSourceFactory
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.