@ManagedResource(description="Managed Processor") public class ManagedProcessor extends ManagedPerformanceCounter implements ManagedInstance, ManagedProcessorMBean
TIMESTAMP_FORMAT
exchangesTotal, 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, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, getStartTimestamp, reset
public ManagedProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
public void init(ManagementStrategy strategy)
init
in class ManagedPerformanceCounter
public CamelContext getContext()
public Object getInstance()
ManagedInstance
getInstance
in interface ManagedInstance
Processor
, Consumer
etc.public Processor getProcessor()
public ProcessorDefinition<?> getDefinition()
public Integer getIndex()
getIndex
in interface ManagedProcessorMBean
public Boolean getSupportExtendedInformation()
getSupportExtendedInformation
in interface ManagedProcessorMBean
public String getState()
getState
in interface ManagedProcessorMBean
public String getCamelId()
getCamelId
in interface ManagedProcessorMBean
public String getCamelManagementName()
getCamelManagementName
in interface ManagedProcessorMBean
public String getRouteId()
getRouteId
in interface ManagedProcessorMBean
public String getProcessorId()
getProcessorId
in interface ManagedProcessorMBean
public void start() throws Exception
start
in interface ManagedProcessorMBean
Exception
public void stop() throws Exception
stop
in interface ManagedProcessorMBean
Exception
public String informationJson()
informationJson
in interface ManagedProcessorMBean
public TabularData explain(boolean allOptions)
explain
in interface ManagedProcessorMBean
public String dumpProcessorAsXml() throws Exception
dumpProcessorAsXml
in interface ManagedProcessorMBean
Exception
Apache Camel