public class BaseMeteredClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected feign.metrics5.FeignMetricName |
metricName |
protected io.dropwizard.metrics5.MetricRegistry |
metricRegistry |
protected MetricSuppliers |
metricSuppliers |
| Constructor and Description |
|---|
BaseMeteredClient(io.dropwizard.metrics5.MetricRegistry metricRegistry,
feign.metrics5.FeignMetricName metricName,
MetricSuppliers metricSuppliers) |
| Modifier and Type | Method and Description |
|---|---|
protected io.dropwizard.metrics5.Timer.Context |
createTimer(RequestTemplate template) |
protected void |
recordFailure(RequestTemplate template,
Exception e) |
protected void |
recordFailure(RequestTemplate template,
FeignException e) |
protected void |
recordSuccess(RequestTemplate template,
Response response) |
protected final io.dropwizard.metrics5.MetricRegistry metricRegistry
protected final feign.metrics5.FeignMetricName metricName
protected final MetricSuppliers metricSuppliers
public BaseMeteredClient(io.dropwizard.metrics5.MetricRegistry metricRegistry,
feign.metrics5.FeignMetricName metricName,
MetricSuppliers metricSuppliers)
protected io.dropwizard.metrics5.Timer.Context createTimer(RequestTemplate template)
protected void recordSuccess(RequestTemplate template, Response response)
protected void recordFailure(RequestTemplate template, FeignException e)
protected void recordFailure(RequestTemplate template, Exception e)
Copyright © 2012–2022 OpenFeign. All rights reserved.