Class ManagedThreads
java.lang.Object
org.apache.camel.management.mbean.ManagedCounter
org.apache.camel.management.mbean.ManagedPerformanceCounter
org.apache.camel.management.mbean.ManagedProcessor
org.apache.camel.management.mbean.ManagedThreads
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance
,org.apache.camel.api.management.mbean.ManagedCounterMBean
,org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
,org.apache.camel.api.management.mbean.ManagedProcessorMBean
,org.apache.camel.api.management.mbean.ManagedThreadsMBean
,PerformanceCounter
@ManagedResource(description="Managed Threads")
public class ManagedThreads
extends ManagedProcessor
implements org.apache.camel.api.management.mbean.ManagedThreadsMBean
-
Field Summary
Fields inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
TIMESTAMP_FORMAT
Fields inherited from class org.apache.camel.management.mbean.ManagedCounter
exchangesTotal, resetTimestamp, startTimestamp
-
Constructor Summary
ConstructorDescriptionManagedThreads
(org.apache.camel.CamelContext context, org.apache.camel.processor.ThreadsProcessor processor, org.apache.camel.model.ProcessorDefinition<?> definition) -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
long
int
int
int
long
long
boolean
Methods inherited from class org.apache.camel.management.mbean.ManagedProcessor
dumpProcessorAsXml, getCamelId, getCamelManagementName, getContext, getDefinition, getId, getIndex, getInstance, getLevel, getProcessor, getProcessorId, getProcessorName, getRoute, getRouteId, getSourceLineNumber, getSourceLocation, getState, getStepId, getSupportExtendedInformation, init, setRoute, start, stop
Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
completedExchange, dumpStatsAsXml, failedExchange, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, processExchange, reset, setStatisticsEnabled
Methods inherited from class org.apache.camel.management.mbean.ManagedCounter
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedCounterMBean
getExchangesTotal, getResetTimestamp, getStartTimestamp, reset
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
dumpProcessorAsXml, getCamelId, getCamelManagementName, getIndex, getLevel, getProcessorId, getProcessorName, getRouteId, getSourceLineNumber, getSourceLocation, getState, getStepId, getSupportExtendedInformation, start, stop
-
Constructor Details
-
ManagedThreads
public ManagedThreads(org.apache.camel.CamelContext context, org.apache.camel.processor.ThreadsProcessor processor, org.apache.camel.model.ProcessorDefinition<?> definition)
-
-
Method Details
-
isCallerRunsWhenRejected
- Specified by:
isCallerRunsWhenRejected
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getRejectedPolicy
- Specified by:
getRejectedPolicy
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getCorePoolSize
- Specified by:
getCorePoolSize
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getPoolSize
- Specified by:
getPoolSize
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getMaximumPoolSize
- Specified by:
getMaximumPoolSize
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getLargestPoolSize
- Specified by:
getLargestPoolSize
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getActiveCount
- Specified by:
getActiveCount
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getTaskCount
- Specified by:
getTaskCount
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getCompletedTaskCount
- Specified by:
getCompletedTaskCount
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getTaskQueueSize
- Specified by:
getTaskQueueSize
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
getKeepAliveTime
- Specified by:
getKeepAliveTime
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-
isAllowCoreThreadTimeout
- Specified by:
isAllowCoreThreadTimeout
in interfaceorg.apache.camel.api.management.mbean.ManagedThreadsMBean
-