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

All Known Implementing Classes:
ActionSchedulerFactory

public interface IActionSchedulerFactory

An action scheduler always schedules the same action. So we can cancel any of them. An action can be performed too late so the functional code abort it. Functional code have to return false if action was aborted.

Author:
Gael Lalire

Method Summary
 IActionScheduler createActionScheduler(IAction action, java.util.concurrent.Executor executor)
           
 

Method Detail

createActionScheduler

IActionScheduler createActionScheduler(IAction action,
                                       java.util.concurrent.Executor executor)
Parameters:
action - action to perform
executor - the executor which will perform the action


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