Uses of Class
org.jboss.util.threadpool.BlockingMode
-
Packages that use BlockingMode Package Description org.jboss.util.threadpool -
-
Uses of BlockingMode in org.jboss.util.threadpool
Fields in org.jboss.util.threadpool declared as BlockingMode Modifier and Type Field Description static BlockingMode
BlockingMode. ABORT
Set the policy for blocked execution to be to throw an AbortWhenBlocked (a subclass of RuntimeException).private BlockingMode
BasicThreadPool. blockingMode
The blocking modestatic 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 requeststatic 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.Methods in org.jboss.util.threadpool that return BlockingMode Modifier and Type Method Description BlockingMode
BasicThreadPool. getBlockingMode()
BlockingMode
BasicThreadPoolMBean. getBlockingMode()
static BlockingMode
BlockingMode. toBlockingMode(java.lang.String name)
A utility method to convert a string name to a BlockingModeMethods in org.jboss.util.threadpool with parameters of type BlockingMode Modifier and Type Method Description void
BasicThreadPool. setBlockingMode(BlockingMode mode)
void
BasicThreadPoolMBean. setBlockingMode(BlockingMode mode)
Set the behavior of the pool when a task is added and the queue is full.
-