Package org.apache.cxf.metrics.codahale
Class CodahaleMetricsProvider
java.lang.Object
org.apache.cxf.metrics.codahale.CodahaleMetricsProvider
- All Implemented Interfaces:
MetricsProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.cxf.Busprotected com.codahale.metrics.MetricRegistryFields inherited from interface org.apache.cxf.metrics.MetricsProvider
CLIENT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEndpointContext(org.apache.cxf.endpoint.Endpoint endpoint, boolean isClient, String clientId) createOperationContext(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.service.model.BindingOperationInfo boi, boolean asClient, String clientId) createResourceContext(org.apache.cxf.endpoint.Endpoint endpoint, String resourceName, boolean asClient, String clientId) protected StringescapePatternChars(String value) static voidsetupJMXReporter(org.apache.cxf.Bus b, com.codahale.metrics.MetricRegistry reg)
-
Field Details
-
bus
protected org.apache.cxf.Bus bus -
registry
protected com.codahale.metrics.MetricRegistry registry
-
-
Constructor Details
-
CodahaleMetricsProvider
public CodahaleMetricsProvider(org.apache.cxf.Bus b)
-
-
Method Details
-
setupJMXReporter
public static void setupJMXReporter(org.apache.cxf.Bus b, com.codahale.metrics.MetricRegistry reg) -
escapePatternChars
-
createEndpointContext
public MetricsContext createEndpointContext(org.apache.cxf.endpoint.Endpoint endpoint, boolean isClient, String clientId) - Specified by:
createEndpointContextin interfaceMetricsProvider
-
createOperationContext
public MetricsContext createOperationContext(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.service.model.BindingOperationInfo boi, boolean asClient, String clientId) - Specified by:
createOperationContextin interfaceMetricsProvider
-
createResourceContext
public MetricsContext createResourceContext(org.apache.cxf.endpoint.Endpoint endpoint, String resourceName, boolean asClient, String clientId) - Specified by:
createResourceContextin interfaceMetricsProvider
-