@ManagedResource(description="Managed ThroughputLogger") public class ManagedThroughputLogger extends ManagedProcessor implements org.apache.camel.api.management.mbean.ManagedThroughputLoggerMBean
TIMESTAMP_FORMAT
exchangesTotal, resetTimestamp, startTimestamp
Constructor and Description |
---|
ManagedThroughputLogger(org.apache.camel.CamelContext context,
org.apache.camel.support.processor.ThroughputLogger logger,
org.apache.camel.model.ProcessorDefinition<?> definition) |
Modifier and Type | Method and Description |
---|---|
double |
getAverage() |
String |
getLastLogMessage() |
org.apache.camel.support.processor.ThroughputLogger |
getLogger() |
double |
getRate() |
int |
getReceivedCounter() |
void |
reset() |
void |
resetThroughputLogger() |
dumpProcessorAsXml, getCamelId, getCamelManagementName, getContext, getDefinition, getId, getIndex, getInstance, getProcessor, getProcessorId, getRoute, getRouteId, getState, getStepId, getSupportExtendedInformation, init, setRoute, start, 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, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dumpProcessorAsXml, getCamelId, getCamelManagementName, getIndex, getProcessorId, getRouteId, getState, getStepId, getSupportExtendedInformation, start, stop
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
public ManagedThroughputLogger(org.apache.camel.CamelContext context, org.apache.camel.support.processor.ThroughputLogger logger, org.apache.camel.model.ProcessorDefinition<?> definition)
public org.apache.camel.support.processor.ThroughputLogger getLogger()
public void reset()
reset
in interface org.apache.camel.api.management.mbean.ManagedCounterMBean
reset
in class ManagedPerformanceCounter
public int getReceivedCounter()
getReceivedCounter
in interface org.apache.camel.api.management.mbean.ManagedThroughputLoggerMBean
public double getAverage()
getAverage
in interface org.apache.camel.api.management.mbean.ManagedThroughputLoggerMBean
public double getRate()
getRate
in interface org.apache.camel.api.management.mbean.ManagedThroughputLoggerMBean
public String getLastLogMessage()
getLastLogMessage
in interface org.apache.camel.api.management.mbean.ManagedThroughputLoggerMBean
public void resetThroughputLogger()
resetThroughputLogger
in interface org.apache.camel.api.management.mbean.ManagedThroughputLoggerMBean
Apache Camel