Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.ematgine.utils.concurrent
Class PooledExecutor.RunWhenBlocked  view PooledExecutor.RunWhenBlocked download PooledExecutor.RunWhenBlocked.java

java.lang.Object
  extended byorg.ematgine.utils.concurrent.PooledExecutor.BlockedExecutionHandler
      extended byorg.ematgine.utils.concurrent.PooledExecutor.RunWhenBlocked
Enclosing class:
PooledExecutor

protected class PooledExecutor.RunWhenBlocked
extends PooledExecutor.BlockedExecutionHandler

Class defining Run action


Constructor Summary
protected PooledExecutor.RunWhenBlocked()
           
 
Method Summary
protected  boolean blockedAction(java.lang.Runnable command)
          Return true if successfully handled so, execute should terminate; else return false if execute loop should be retried
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PooledExecutor.RunWhenBlocked

protected PooledExecutor.RunWhenBlocked()
Method Detail

blockedAction

protected boolean blockedAction(java.lang.Runnable command)
Description copied from class: PooledExecutor.BlockedExecutionHandler
Return true if successfully handled so, execute should terminate; else return false if execute loop should be retried

Specified by:
blockedAction in class PooledExecutor.BlockedExecutionHandler