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

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

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

Class defining Run action *


Constructor Summary
protected ThreadPoolServiceImpl.RunWhenBlocked()
           
 
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.RunWhenBlocked

protected ThreadPoolServiceImpl.RunWhenBlocked()
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.