Class AbstractMetricsInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
-
- org.apache.cxf.metrics.interceptors.AbstractMetricsInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
- Direct Known Subclasses:
MetricsMessageClientOutInterceptor,MetricsMessageInInterceptor,MetricsMessageInOneWayInterceptor,MetricsMessageInPostInvokeInterceptor,MetricsMessageInPreInvokeInterceptor,MetricsMessageOutInterceptor
public abstract class AbstractMetricsInterceptor extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
-
-
Constructor Summary
Constructors Constructor Description AbstractMetricsInterceptor(String phase, MetricsProvider[] p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddOperationMetrics(ExchangeMetrics ctx, org.apache.cxf.message.Message m, org.apache.cxf.service.model.BindingOperationInfo boi)protected ExchangeMetricsgetExchangeMetrics(org.apache.cxf.message.Message m, boolean create)protected Collection<? extends MetricsProvider>getMetricProviders(org.apache.cxf.Bus bus)voidstop(org.apache.cxf.message.Message m)-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Constructor Detail
-
AbstractMetricsInterceptor
public AbstractMetricsInterceptor(String phase, MetricsProvider[] p)
-
-
Method Detail
-
getMetricProviders
protected Collection<? extends MetricsProvider> getMetricProviders(org.apache.cxf.Bus bus)
-
getExchangeMetrics
protected ExchangeMetrics getExchangeMetrics(org.apache.cxf.message.Message m, boolean create)
-
addOperationMetrics
protected void addOperationMetrics(ExchangeMetrics ctx, org.apache.cxf.message.Message m, org.apache.cxf.service.model.BindingOperationInfo boi)
-
stop
public void stop(org.apache.cxf.message.Message m)
-
-