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

Quick Search    Search Deep

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

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

protected class PooledExecutor.DiscardWhenBlocked
extends PooledExecutor.BlockedExecutionHandler

Class defining Discard action


Constructor Summary
protected PooledExecutor.DiscardWhenBlocked()
           
 
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.DiscardWhenBlocked

protected PooledExecutor.DiscardWhenBlocked()
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