Apache Tomcat 7.0.4

org.apache.tomcat.util.threads
Interface ResizableExecutor

All Superinterfaces:
Executor
All Known Implementing Classes:
StandardThreadExecutor

public interface ResizableExecutor
extends Executor


Method Summary
 int getActiveCount()
          ThreadPoolExecutor.getActiveCount()
 int getMaxThreads()
           
 int getPoolSize()
          ThreadPoolExecutor.getPoolSize()
 boolean resizePool(int corePoolSize, int maximumPoolSize)
           
 boolean resizeQueue(int capacity)
           
 
Methods inherited from interface java.util.concurrent.Executor
execute
 

Method Detail

getPoolSize

int getPoolSize()
ThreadPoolExecutor.getPoolSize()

Returns:
ThreadPoolExecutor.getPoolSize()

getMaxThreads

int getMaxThreads()

getActiveCount

int getActiveCount()
ThreadPoolExecutor.getActiveCount()

Returns:
ThreadPoolExecutor.getActiveCount()

resizePool

boolean resizePool(int corePoolSize,
                   int maximumPoolSize)

resizeQueue

boolean resizeQueue(int capacity)

Apache Tomcat 7.0.4

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.