Interface ManagedThreadsMBean
-
- All Superinterfaces:
ManagedCounterMBean,ManagedPerformanceCounterMBean,ManagedProcessorMBean
public interface ManagedThreadsMBean extends ManagedProcessorMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveCount()longgetCompletedTaskCount()intgetCorePoolSize()longgetKeepAliveTime()intgetLargestPoolSize()intgetMaximumPoolSize()intgetPoolSize()StringgetRejectedPolicy()longgetTaskCount()longgetTaskQueueSize()booleanisAllowCoreThreadTimeout()BooleanisCallerRunsWhenRejected()-
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
-
-
-
-
Method Detail
-
isCallerRunsWhenRejected
@ManagedAttribute(description="Whether or not the caller should run the task when it was rejected by the thread pool") Boolean isCallerRunsWhenRejected()
-
getRejectedPolicy
@ManagedAttribute(description="How to handle tasks which cannot be accepted by the thread pool") String getRejectedPolicy()
-
getCorePoolSize
@ManagedAttribute(description="Core pool size") int getCorePoolSize()
-
getPoolSize
@ManagedAttribute(description="Pool size") int getPoolSize()
-
getMaximumPoolSize
@ManagedAttribute(description="Maximum pool size") int getMaximumPoolSize()
-
getLargestPoolSize
@ManagedAttribute(description="Largest pool size") int getLargestPoolSize()
-
getActiveCount
@ManagedAttribute(description="Active count") int getActiveCount()
-
getTaskCount
@ManagedAttribute(description="Task count") long getTaskCount()
-
getCompletedTaskCount
@ManagedAttribute(description="Completed task count") long getCompletedTaskCount()
-
getTaskQueueSize
@ManagedAttribute(description="Task queue size") long getTaskQueueSize()
-
getKeepAliveTime
@ManagedAttribute(description="Keep alive time in seconds") long getKeepAliveTime()
-
isAllowCoreThreadTimeout
@ManagedAttribute(description="Whether core threads is allowed to timeout if no tasks in queue to process") boolean isAllowCoreThreadTimeout()
-
-