#include <Queue.h>
Inheritance diagram for Queue:
Public Member Functions | |
Queue () | |
Queue constructor. | |
virtual | ~Queue () |
Queue destructor. | |
virtual list< string > | getInWaitTasks ()=0 |
Get all the tasks in wait. | |
virtual list< string > | getTerminatedTasks ()=0 |
Get all the tasks terminated. | |
virtual list< string > | getInUseTasks ()=0 |
Get all the tasks in use. | |
virtual list< string > | getExpiredTasks ()=0 |
Get all the tasks expired. | |
virtual void | saveTask (Task *aDescriptor)=0 |
virtual void | updateAging ()=0 |
virtual void | changeStateToInWait (string &aIdTask)=0 |
Permit to put the task in mode in wait. | |
virtual void | changeStateToInUse (string &aIdTask)=0 |
Permit to put the task in mode in use. | |
virtual void | changeStateToExpired (string &aIdTask)=0 |
Permit to put the task in mode expired. | |
virtual void | changeStateToTerminated (string &aIdTask)=0 |
Permit to put the task in mode terminated. | |
virtual list< string > | orderInWaitTasks ()=0 |
Permit to reorder the list of tasks in wait. | |
virtual bool | extractTaskToExec (PGAgentInfo *aAgent, Task *aDesc, string &aIp, string &aPort)=0 |
virtual void | updateAdvanceTask (string &aTaskId, string &value)=0 |
Permit to update the advance of the task for task in use. | |
virtual list< vector< string > > | getInformations (string aTaskId)=0 |
Permit to get all the informations of a task. | |
virtual void | addTaskAgentInUse (string aTask, string aAgent)=0 |
virtual void | deleteTaskAgentInUse (string aAgent, bool aError)=0 |
virtual void | checkTimeout ()=0 |
Permit to verify if the agents are still active. If they aren't, they are delete;. | |
virtual void | eraseBase ()=0 |
Delete all the base. |
|
Permit to put the task in mode expired.
Implemented in PGQueue. |
|
Permit to put the task in mode in use.
Implemented in PGQueue. |
|
Permit to put the task in mode in wait.
Implemented in PGQueue. |
|
Permit to put the task in mode terminated.
Implemented in PGQueue. |
|
Get all the tasks expired.
Implemented in PGQueue. |
|
Permit to get all the informations of a task.
Implemented in PGQueue. |
|
Get all the tasks in use.
Implemented in PGQueue. |
|
Get all the tasks in wait.
Implemented in PGQueue. |
|
Get all the tasks terminated.
Implemented in PGQueue. |
|
Permit to reorder the list of tasks in wait.
Implemented in PGQueue. |
|
Permit to update the advance of the task for task in use.
Implemented in PGQueue. |