org.gvsig.remoteclient.taskplanning
Interface ITaskPlanner

All Known Implementing Classes:
FIFOTaskPlanner

public interface ITaskPlanner

ITaskPlanner provides an interface to program your own task planning. It gives you operations for pick a task from the queue according on the criteria that you designed.

The simplest implementation of ITaskPlanner would be a FIFO task planner (see FIFOTaskPlanner.java) which takes jobs from a task queue in the same order they were put. But any kind of planner is possible (SJF, LIFO, RoundRobin, etc.).

Author:
jaume dominguez faus - jaume.dominguez@iver.es

Method Summary
 IRunnableTask nextTask()
          Takes the next task to be executed.
 

Method Detail

nextTask

IRunnableTask nextTask()
Takes the next task to be executed.

Returns:
IRunnableTask representing the next task to be executed


Copyright © 2014 gvSIG Association. All Rights Reserved.