Interface ManagedThreadPoolMBean
-
public interface ManagedThreadPoolMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getActiveCount()
String
getCamelId()
String
getCamelManagementName()
long
getCompletedTaskCount()
int
getCorePoolSize()
String
getId()
long
getKeepAliveTime()
int
getLargestPoolSize()
int
getMaximumPoolSize()
int
getPoolSize()
String
getRouteId()
String
getSourceId()
long
getTaskCount()
int
getTaskQueueRemainingCapacity()
long
getTaskQueueSize()
String
getThreadPoolProfileId()
boolean
isAllowCoreThreadTimeout()
boolean
isShutdown()
boolean
isTaskQueueEmpty()
void
purge()
void
setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout)
void
setCorePoolSize(int corePoolSize)
void
setKeepAliveTime(long keepAliveTimeInSeconds)
void
setMaximumPoolSize(int maximumPoolSize)
-
-
-
Method Detail
-
getCamelId
@ManagedAttribute(description="Camel ID") String getCamelId()
-
getCamelManagementName
@ManagedAttribute(description="Camel ManagementName") String getCamelManagementName()
-
getId
@ManagedAttribute(description="Thread Pool ID") String getId()
-
getSourceId
@ManagedAttribute(description="ID of source for creating Thread Pool") String 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
@ManagedAttribute(description="Core pool size") int getCorePoolSize()
-
setCorePoolSize
@ManagedAttribute(description="Core pool size") void setCorePoolSize(int corePoolSize)
-
getPoolSize
@ManagedAttribute(description="Pool size") int getPoolSize()
-
getMaximumPoolSize
@ManagedAttribute(description="Maximum pool size") int getMaximumPoolSize()
-
setMaximumPoolSize
@ManagedAttribute(description="Maximum pool size") void setMaximumPoolSize(int maximumPoolSize)
-
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()
-
isTaskQueueEmpty
@ManagedAttribute(description="Is task queue empty") boolean isTaskQueueEmpty()
-
getKeepAliveTime
@ManagedAttribute(description="Keep alive time in seconds") long 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
@ManagedAttribute(description="Is shutdown") boolean isShutdown()
-
purge
@ManagedOperation(description="Purges the pool") void 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()
-
-