The job_self class is a job which represents the current application. More...
#include <job_self.hpp>
Public Member Functions | |
self (void) | |
Creates the object. | |
~self (void) | |
Destroys the object. |
The job_self class is a job which represents the current application.
It can only by created by calling get_self() on a job service (that call can fail though). The motivation to introduce this class is twofold: (1) it allows to actively handle the current application as a grid job (e.g. to migrate it, or to obtain its job description for cloning/spawning); (2) as the class implements the steerable interface, it is possible to add ReadWrite metrics to its instance - that way it is possible to expose these metrics to other external applications, which in fact allows to steer the current application.
Definition at line 59 of file job_self.hpp.
saga::job::self::self | ( | void | ) |
Creates the object.
Definition at line 58 of file job_self.cpp.
saga::job::self::~self | ( | void | ) |
Destroys the object.
Definition at line 67 of file job_self.cpp.