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 BlockingModeBlockingMode. ABORTSet the policy for blocked execution to be to throw an AbortWhenBlocked (a subclass of RuntimeException).private BlockingModeBasicThreadPool. blockingModeThe blocking modestatic BlockingModeBlockingMode. DISCARDSet the policy for blocked execution to be to return without executing the request.static BlockingModeBlockingMode. DISCARD_OLDESTSet the policy for blocked execution to be to discard the oldest unhandled requeststatic BlockingModeBlockingMode. RUNSet the policy for blocked execution to be that the current thread executes the command if there are no available threads in the pool.static BlockingModeBlockingMode. WAITSet 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 BlockingModeBasicThreadPool. getBlockingMode()BlockingModeBasicThreadPoolMBean. getBlockingMode()static BlockingModeBlockingMode. 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 voidBasicThreadPool. setBlockingMode(BlockingMode mode)voidBasicThreadPoolMBean. setBlockingMode(BlockingMode mode)Set the behavior of the pool when a task is added and the queue is full.
-