@ManagedResource(description="Managed Processor") public class ManagedProcessor extends ManagedPerformanceCounter implements ManagedInstance, ManagedProcessorMBean
TIMESTAMP_FORMATexchangesTotal, resetTimestamp, startTimestamp| Constructor and Description |
|---|
ManagedProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition) |
| Modifier and Type | Method and Description |
|---|---|
String |
dumpProcessorAsXml() |
TabularData |
explain(boolean allOptions) |
String |
getCamelId() |
String |
getCamelManagementName() |
CamelContext |
getContext() |
ProcessorDefinition<?> |
getDefinition() |
String |
getId() |
Integer |
getIndex() |
Object |
getInstance()
Gets the resource which is being managed.
|
Processor |
getProcessor() |
String |
getProcessorId() |
Route |
getRoute() |
String |
getRouteId() |
String |
getState() |
Boolean |
getSupportExtendedInformation() |
String |
informationJson() |
void |
init(ManagementStrategy strategy) |
void |
setRoute(Route route) |
void |
start() |
void |
stop() |
completedExchange, dumpStatsAsXml, failedExchange, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, processExchange, reset, setStatisticsEnabledgetExchangesTotal, getResetTimestamp, getStartTimestamp, incrementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabledgetExchangesTotal, getResetTimestamp, getStartTimestamp, resetpublic ManagedProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
public void init(ManagementStrategy strategy)
init in class ManagedPerformanceCounterpublic CamelContext getContext()
public Object getInstance()
ManagedInstancegetInstance in interface ManagedInstanceProcessor, Consumer etc.public Processor getProcessor()
public ProcessorDefinition<?> getDefinition()
public Integer getIndex()
getIndex in interface ManagedProcessorMBeanpublic Boolean getSupportExtendedInformation()
getSupportExtendedInformation in interface ManagedProcessorMBeanpublic String getState()
getState in interface ManagedProcessorMBeanpublic String getCamelId()
getCamelId in interface ManagedProcessorMBeanpublic String getCamelManagementName()
getCamelManagementName in interface ManagedProcessorMBeanpublic String getRouteId()
getRouteId in interface ManagedProcessorMBeanpublic String getProcessorId()
getProcessorId in interface ManagedProcessorMBeanpublic void start() throws Exception
start in interface ManagedProcessorMBeanExceptionpublic void stop() throws Exception
stop in interface ManagedProcessorMBeanExceptionpublic String informationJson()
informationJson in interface ManagedProcessorMBeanpublic TabularData explain(boolean allOptions)
explain in interface ManagedProcessorMBeanpublic String dumpProcessorAsXml() throws Exception
dumpProcessorAsXml in interface ManagedProcessorMBeanExceptionApache Camel