org.ow2.util.pool.impl.enhanced.internal.actionscheduler
Interface IAction

All Superinterfaces:
java.util.concurrent.Callable<java.lang.Boolean>

public interface IAction
extends java.util.concurrent.Callable<java.lang.Boolean>

An action cannot throw an exception.

Author:
Gael Lalire

Method Summary
 java.lang.Boolean call()
          This method must respect following contract.
 

Method Detail

call

java.lang.Boolean call()
This method must respect following contract. Contract : - If Thread.interrupt() is called, the flag must not be cleared by action code. If you were waiting (not a expected behavior) then recall Thread.interrupt() and return normally. - return true if the action was performed false otherwise

Specified by:
call in interface java.util.concurrent.Callable<java.lang.Boolean>


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.