org.jboss.threads
Interface ThreadPoolExecutorMBean

All Known Implementing Classes:
JBossThreadPoolExecutor, SimpleQueueExecutor

public interface ThreadPoolExecutorMBean


Method Summary
 int getCorePoolSize()
           
 int getCurrentPoolSize()
           
 long getKeepAliveTime()
           
 int getLargestPoolSize()
           
 int getMaxPoolSize()
           
 java.lang.String getName()
           
 int getRejectedCount()
           
 boolean isAllowCoreThreadTimeout()
           
 void setAllowCoreThreadTimeout(boolean allow)
           
 void setCorePoolSize(int newSize)
           
 void setKeepAliveTime(long milliseconds)
           
 void setMaxPoolSize(int newSize)
           
 

Method Detail

getName

java.lang.String getName()

isAllowCoreThreadTimeout

boolean isAllowCoreThreadTimeout()

setAllowCoreThreadTimeout

void setAllowCoreThreadTimeout(boolean allow)

getCorePoolSize

int getCorePoolSize()

setCorePoolSize

void setCorePoolSize(int newSize)

getMaxPoolSize

int getMaxPoolSize()

setMaxPoolSize

void setMaxPoolSize(int newSize)

getKeepAliveTime

long getKeepAliveTime()

setKeepAliveTime

void setKeepAliveTime(long milliseconds)

getCurrentPoolSize

int getCurrentPoolSize()

getLargestPoolSize

int getLargestPoolSize()

getRejectedCount

int getRejectedCount()


Copyright © 2011. All Rights Reserved.