org.exoplatform.services.threadpool.impl
Class ThreadPoolServiceImpl.WaitWhenBlocked

java.lang.Object
  extended by org.exoplatform.services.threadpool.impl.ThreadPoolServiceImpl.WaitWhenBlocked
All Implemented Interfaces:
ThreadPoolServiceImpl.BlockedExecutionStrategy
Enclosing class:
ThreadPoolServiceImpl

protected class ThreadPoolServiceImpl.WaitWhenBlocked
extends java.lang.Object
implements ThreadPoolServiceImpl.BlockedExecutionStrategy

Class defining Wait action *


Constructor Summary
protected ThreadPoolServiceImpl.WaitWhenBlocked()
           
 
Method Summary
 boolean blockedAction(java.lang.Runnable task)
          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

ThreadPoolServiceImpl.WaitWhenBlocked

protected ThreadPoolServiceImpl.WaitWhenBlocked()
Method Detail

blockedAction

public boolean blockedAction(java.lang.Runnable task)
Description copied from interface: ThreadPoolServiceImpl.BlockedExecutionStrategy
Return true if successfully handled so, execute should terminate; else return false if execute loop should be retried.

Specified by:
blockedAction in interface ThreadPoolServiceImpl.BlockedExecutionStrategy


Copyright © 2012 eXo Platform SAS. All Rights Reserved.