vitro
Class ThreadedController
java.lang.Object
vitro.Controller
vitro.ThreadedController
public class ThreadedController
- extends Controller
Method Summary |
List<Action> |
nextRound()
This method is used to determine the order in which
Actions will be applied. |
Methods inherited from class vitro.Controller |
actors, annotations, bind, bind, getAction, getAgent, hasNext, hasPrev, index, next, prev, previousActions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadedController
public ThreadedController(Model model,
long timeout)
nextRound
public List<Action> nextRound()
- Description copied from class:
Controller
- This method is used to determine the order in which
Actions will be applied. Controller implementations may
provide different behaviors here such as evaluating
Actions concurrently or sequentially.
The List returned by this method is stored for rollback
purposes- the Actions themselves should be applied in
the body of this method.
- Specified by:
nextRound
in class Controller
- Returns:
- a record of Actions applied as the state is advanced.