ants.messor
Interface TaskStorage
- All Superinterfaces:
- Clearable, ResourceManager, Storage
- All Known Implementing Classes:
- SimulatedTaskStorage
- public interface TaskStorage
- extends Storage
- Version:
- $Revision: 1.4 $
- Author:
- Alberto Montresor
Field Summary |
static String |
NAME
Identifier used in the configuration files |
Method Summary |
int |
addTasks(List list)
Add the task to the task set. |
int |
getLoad()
Returns the current load of this task storage. |
List |
getTasks(int size)
Get tasks from the task set |
NAME
public static final String NAME
- Identifier used in the configuration files
- See Also:
- Constant Field Values
addTasks
public int addTasks(List list)
- Add the task to the task set.
getTasks
public List getTasks(int size)
- Get tasks from the task set
getLoad
public int getLoad()
- Returns the current load of this task storage.