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
 
Fields inherited from interface anthill.storage.Storage
DOC_STORAGE, PHR_STORAGE, URL_STORAGE
 
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
 
Methods inherited from interface anthill.util.Clearable
clear
 

Field Detail

NAME

public static final String NAME
Identifier used in the configuration files

See Also:
Constant Field Values
Method Detail

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.