org.exoplatform.services.threadpool.impl
Class ThreadPoolServiceImpl.WaitWhenBlocked
java.lang.Object
org.exoplatform.services.threadpool.impl.ThreadPoolServiceImpl.WaitWhenBlocked
- All Implemented Interfaces:
- ThreadPoolServiceImpl.BlockedExecutionStrategy
- Enclosing class:
- ThreadPoolServiceImpl
protected class ThreadPoolServiceImpl.WaitWhenBlocked
- extends Object
- implements ThreadPoolServiceImpl.BlockedExecutionStrategy
Class defining Wait action *
|
Method Summary |
boolean |
blockedAction(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 |
ThreadPoolServiceImpl.WaitWhenBlocked
protected ThreadPoolServiceImpl.WaitWhenBlocked()
blockedAction
public boolean blockedAction(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 © 2009 eXo Platform SAS. All Rights Reserved.