Interface MessageDispatchInterceptorMBean
-
- All Known Implementing Classes:
MessageDispatchInterceptor
public interface MessageDispatchInterceptorMBeanMBean interface for MessageDispatchInterceptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveCount()Get the active count.longgetCompletedTaskCount()Get the completed task count.longgetCurrentSize()Get the current queue size.longgetKeepAliveTime()Get the keep alive time.longgetMaxQueueSize()Get the maximum queue size.intgetMaxSpareThreads()Get the maximum spare threads.intgetMaxThreads()Get the maximum threads.intgetOptionFlag()Get the option flag.intgetPoolSize()Get the pool size.longgetTaskCount()Get the task count.booleanisAlwaysSend()Check if always send is enabled.voidsetAlwaysSend(boolean alwaysSend)Set always send.
-
-
-
Method Detail
-
getOptionFlag
int getOptionFlag()
Get the option flag.- Returns:
- the option flag
-
isAlwaysSend
boolean isAlwaysSend()
Check if always send is enabled.- Returns:
- whether always send is enabled
-
setAlwaysSend
void setAlwaysSend(boolean alwaysSend)
Set always send.- Parameters:
alwaysSend- whether to always send
-
getMaxQueueSize
long getMaxQueueSize()
Get the maximum queue size.- Returns:
- the maximum queue size
-
getCurrentSize
long getCurrentSize()
Get the current queue size.- Returns:
- the current queue size
-
getKeepAliveTime
long getKeepAliveTime()
Get the keep alive time.- Returns:
- the keep alive time
-
getMaxSpareThreads
int getMaxSpareThreads()
Get the maximum spare threads.- Returns:
- the maximum spare threads
-
getMaxThreads
int getMaxThreads()
Get the maximum threads.- Returns:
- the maximum threads
-
getPoolSize
int getPoolSize()
Get the pool size.- Returns:
- the pool size
-
getActiveCount
int getActiveCount()
Get the active count.- Returns:
- the active count
-
getTaskCount
long getTaskCount()
Get the task count.- Returns:
- the task count
-
getCompletedTaskCount
long getCompletedTaskCount()
Get the completed task count.- Returns:
- the completed task count
-
-