Interface ManagedThreadPoolMBean
public interface ManagedThreadPoolMBean
-
Method Summary
Modifier and TypeMethodDescriptionint
long
int
getId()
long
int
int
int
long
int
long
boolean
boolean
boolean
void
purge()
void
setAllowCoreThreadTimeout
(boolean allowCoreThreadTimeout) void
setCorePoolSize
(int corePoolSize) void
setKeepAliveTime
(long keepAliveTimeInSeconds) void
setMaximumPoolSize
(int maximumPoolSize)
-
Method Details
-
getCamelId
-
getCamelManagementName
-
getId
-
getSourceId
-
getRouteId
@ManagedAttribute(description="Route ID for the source, which created the Thread Pool") String getRouteId() -
getThreadPoolProfileId
@ManagedAttribute(description="ID of the thread pool profile which this pool is based upon") String getThreadPoolProfileId() -
getCorePoolSize
-
setCorePoolSize
-
getPoolSize
-
getMaximumPoolSize
-
setMaximumPoolSize
-
getLargestPoolSize
-
getActiveCount
-
getTaskCount
-
getCompletedTaskCount
-
getTaskQueueSize
-
isTaskQueueEmpty
-
getKeepAliveTime
-
setKeepAliveTime
@ManagedAttribute(description="Keep alive time in seconds") void setKeepAliveTime(long keepAliveTimeInSeconds) -
isAllowCoreThreadTimeout
@ManagedAttribute(description="Whether core threads is allowed to timeout if no tasks in queue to process") boolean isAllowCoreThreadTimeout() -
setAllowCoreThreadTimeout
@ManagedAttribute(description="Whether core threads is allowed to timeout if no tasks in queue to process") void setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout) -
isShutdown
-
purge
-
getTaskQueueRemainingCapacity
@ManagedOperation(description="Returns the number of additional elements that the Task queue can ideally (in the absence of memory or resource constraints) accept") int getTaskQueueRemainingCapacity()
-