public class CodahaleMetricsProvider extends Object implements MetricsProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.cxf.Bus |
bus |
protected com.codahale.metrics.MetricRegistry |
registry |
CLIENT_ID| Constructor and Description |
|---|
CodahaleMetricsProvider(org.apache.cxf.Bus b) |
| Modifier and Type | Method and Description |
|---|---|
MetricsContext |
createEndpointContext(org.apache.cxf.endpoint.Endpoint endpoint,
boolean isClient,
String clientId) |
MetricsContext |
createOperationContext(org.apache.cxf.endpoint.Endpoint endpoint,
org.apache.cxf.service.model.BindingOperationInfo boi,
boolean asClient,
String clientId) |
MetricsContext |
createResourceContext(org.apache.cxf.endpoint.Endpoint endpoint,
String resourceName,
boolean asClient,
String clientId) |
protected String |
escapePatternChars(String value) |
static void |
setupJMXReporter(org.apache.cxf.Bus b,
com.codahale.metrics.MetricRegistry reg) |
protected org.apache.cxf.Bus bus
protected com.codahale.metrics.MetricRegistry registry
public static void setupJMXReporter(org.apache.cxf.Bus b,
com.codahale.metrics.MetricRegistry reg)
public MetricsContext createEndpointContext(org.apache.cxf.endpoint.Endpoint endpoint, boolean isClient, String clientId)
createEndpointContext in interface MetricsProviderpublic MetricsContext createOperationContext(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.service.model.BindingOperationInfo boi, boolean asClient, String clientId)
createOperationContext in interface MetricsProviderpublic MetricsContext createResourceContext(org.apache.cxf.endpoint.Endpoint endpoint, String resourceName, boolean asClient, String clientId)
createResourceContext in interface MetricsProviderApache CXF