public class InstrumentationInterceptStrategy extends Object implements org.apache.camel.spi.ManagementInterceptStrategy
InstrumentationProcessor
. Each InstrumentationProcessor
has an embedded ManagedPerformanceCounter
for monitoring performance metrics.
This class looks up a map to determine which PerformanceCounter should go into the InstrumentationProcessor for any
particular target processor.Constructor and Description |
---|
InstrumentationInterceptStrategy(Map<org.apache.camel.NamedNode,PerformanceCounter> registeredCounters,
Map<org.apache.camel.Processor,org.apache.camel.util.KeyValueHolder<org.apache.camel.NamedNode,org.apache.camel.spi.ManagementInterceptStrategy.InstrumentationProcessor>> wrappedProcessors) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.spi.ManagementInterceptStrategy.InstrumentationProcessor<?> |
createProcessor(org.apache.camel.NamedNode definition,
org.apache.camel.Processor target) |
org.apache.camel.spi.ManagementInterceptStrategy.InstrumentationProcessor<?> |
createProcessor(String type) |
public InstrumentationInterceptStrategy(Map<org.apache.camel.NamedNode,PerformanceCounter> registeredCounters, Map<org.apache.camel.Processor,org.apache.camel.util.KeyValueHolder<org.apache.camel.NamedNode,org.apache.camel.spi.ManagementInterceptStrategy.InstrumentationProcessor>> wrappedProcessors)
public org.apache.camel.spi.ManagementInterceptStrategy.InstrumentationProcessor<?> createProcessor(String type)
createProcessor
in interface org.apache.camel.spi.ManagementInterceptStrategy
public org.apache.camel.spi.ManagementInterceptStrategy.InstrumentationProcessor<?> createProcessor(org.apache.camel.NamedNode definition, org.apache.camel.Processor target)
createProcessor
in interface org.apache.camel.spi.ManagementInterceptStrategy
Apache Camel