|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BlockingMode | |
org.jboss.util.threadpool |
Uses of BlockingMode in org.jboss.util.threadpool |
Fields in org.jboss.util.threadpool declared as BlockingMode | |
static BlockingMode |
BlockingMode.RUN
Set the policy for blocked execution to be that the current thread executes the command if there are no available threads in the pool. |
static BlockingMode |
BlockingMode.WAIT
Set the policy for blocked execution to be to wait until a thread is available, unless the pool has been shut down, in which case the action is discarded. |
static BlockingMode |
BlockingMode.DISCARD
Set the policy for blocked execution to be to return without executing the request. |
static BlockingMode |
BlockingMode.DISCARD_OLDEST
Set the policy for blocked execution to be to discard the oldest unhandled request |
static BlockingMode |
BlockingMode.ABORT
Set the policy for blocked execution to be to throw an AbortWhenBlocked (a subclass of RuntimeException). |
Methods in org.jboss.util.threadpool that return BlockingMode | |
static BlockingMode |
BlockingMode.toBlockingMode(String name)
A utility method to convert a string name to a BlockingMode |
BlockingMode |
BasicThreadPoolMBean.getBlockingMode()
|
BlockingMode |
BasicThreadPool.getBlockingMode()
|
Methods in org.jboss.util.threadpool with parameters of type BlockingMode | |
void |
BasicThreadPoolMBean.setBlockingMode(BlockingMode mode)
Set the behavior of the pool when a task is added and the queue is full. |
void |
BasicThreadPool.setBlockingMode(BlockingMode mode)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |