public interface IMetrics
| Modifier and Type | Method and Description |
|---|---|
void |
record(RequestMetric metric)
Records the metrics for a single request.
|
void |
setComponentRegistry(IComponentRegistry registry)
Provides the component registry (before any call to
record(RequestMetric))
is made. |
void record(RequestMetric metric)
metric - the request metricvoid setComponentRegistry(IComponentRegistry registry)
record(RequestMetric))
is made. Metrics can then access HTTP client components, etc.registry - the component registryCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.