Class AbstractMetricsInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.metrics.interceptors.AbstractMetricsInterceptor
-
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
- Direct Known Subclasses:
MetricsMessageClientOutInterceptor,MetricsMessageInInterceptor,MetricsMessageInOneWayInterceptor,MetricsMessageInPostInvokeInterceptor,MetricsMessageInPreInvokeInterceptor,MetricsMessageOutInterceptor
public abstract class AbstractMetricsInterceptor extends AbstractPhaseInterceptor<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, Message m, BindingOperationInfo boi)protected ExchangeMetricsgetExchangeMetrics(Message m, boolean create)protected Collection<? extends MetricsProvider>getMetricProviders(Bus bus)voidstop(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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleMessage
-
-
-
-
Constructor Detail
-
AbstractMetricsInterceptor
public AbstractMetricsInterceptor(String phase, MetricsProvider[] p)
-
-
Method Detail
-
getMetricProviders
protected Collection<? extends MetricsProvider> getMetricProviders(Bus bus)
-
getExchangeMetrics
protected ExchangeMetrics getExchangeMetrics(Message m, boolean create)
-
addOperationMetrics
protected void addOperationMetrics(ExchangeMetrics ctx, Message m, BindingOperationInfo boi)
-
stop
public void stop(Message m)
-
-