com.googlecode.lightest.core
Interface ITaskDispatchStrategy
- All Known Subinterfaces:
- IInterruptibleTaskDispatchStrategy
- All Known Implementing Classes:
- InteractiveTaskDispatchStrategy, SimpleTaskDispatchStrategy
public interface ITaskDispatchStrategy
This strategy is used by TaskDispatcher to perform tasks. This extra layer
of indirection allows for additional logic to be injected before or after
each task is performed.
dispatch
ITaskResult dispatch(ITask task)
- At the very least, calls the perform() method on the task.
- Parameters:
task -
Copyright © 2009. All Rights Reserved.