Handles the scheduling and lifetime management of a scheduler request. The scheduling of a request can involve either running the request locally or distributing the execution of the request to other remotely hosted schedulers. An instance of this class is created by the scheduler to handle the scheduling of a single request, to observe and process its events (received either locally or via network messages) and to collect and store data related to executing request as it works its way through the system.
#include <Workspace/DataExecution/Execution/schedulerrequest.h>
Inherits QObject.
◆ SchedulerRequest()
◆ ~SchedulerRequest()
◆ appendLog()
void appendLog |
( |
QByteArray |
logContent | ) |
|
◆ appendSchedulerLog()
void appendSchedulerLog |
( |
QByteArray |
logContent | ) |
|
◆ canRunRemotely()
bool canRunRemotely |
( |
| ) |
const |
◆ checkProgressFile()
void checkProgressFile |
( |
const QString & |
progressFile | ) |
|
◆ destroy()
◆ getCommandLine()
◆ getCommandLineEnvironment()
QMap< QString, QString > getCommandLineEnvironment |
( |
| ) |
const |
◆ getCommandLineWallTimeInSeconds()
int getCommandLineWallTimeInSeconds |
( |
| ) |
const |
◆ getCommandLineWorkingDir()
QString getCommandLineWorkingDir |
( |
| ) |
const |
◆ getDebugWithGui()
bool getDebugWithGui |
( |
| ) |
const |
◆ getIsScheduled()
bool getIsScheduled |
( |
| ) |
const |
◆ getIsScheduledLocally()
bool getIsScheduledLocally |
( |
| ) |
const |
◆ getLogMessageCategoryMap()
QMap< QString, bool > getLogMessageCategoryMap |
( |
| ) |
const |
◆ getMaxRetryCount()
int getMaxRetryCount |
( |
| ) |
const |
|
protected |
◆ getMustRun()
bool getMustRun |
( |
| ) |
const |
- Returns
- True if the request must run irrespective of any concurrency limit.
◆ getNotifyMailRecipients()
◆ getProfiling()
bool getProfiling |
( |
| ) |
const |
◆ getReadyToProcess()
bool getReadyToProcess |
( |
int * |
msecsToWait = nullptr | ) |
const |
◆ getRequestSettings()
◆ getRequiredSchedulerFeatures()
◆ getRetryCount()
int getRetryCount |
( |
| ) |
const |
|
protected |
◆ getRunnable()
QRunnable * getRunnable |
( |
| ) |
const |
◆ getScheduler()
◆ getUsedPluginsOnly()
bool getUsedPluginsOnly |
( |
| ) |
const |
◆ getUserFriendlyName()
QString getUserFriendlyName |
( |
| ) |
const |
◆ getUuid()
QString getUuid |
( |
| ) |
const |
◆ getWorkspace() [1/2]
◆ getWorkspace() [2/2]
◆ hasBeenScheduledOnto()
◆ hasRequiredSchedulerFeatures()
bool hasRequiredSchedulerFeatures |
( |
| ) |
const |
◆ incrementRetryCount()
void incrementRetryCount |
( |
| ) |
|
|
protected |
◆ initialise()
◆ notifyHasAbortedUpdating()
void notifyHasAbortedUpdating |
( |
const AbortReason & |
reason | ) |
|
◆ notifyHasFailedToBeScheduled()
void notifyHasFailedToBeScheduled |
( |
const QString & |
reason | ) |
|
◆ notifyHasFinishedExecution()
void notifyHasFinishedExecution |
( |
| ) |
|
◆ notifyHasFinishedUpdating()
void notifyHasFinishedUpdating |
( |
| ) |
|
◆ notifyHasStartedExecuting()
void notifyHasStartedExecuting |
( |
| ) |
|
◆ notifyHasStartedUpdating()
void notifyHasStartedUpdating |
( |
| ) |
|
◆ notifyOperationUpdateEventList()
◆ notifyProgressEvent()
void notifyProgressEvent |
( |
int |
percentComplete | ) |
|
◆ notifyWorkspaceLogMessage()
void notifyWorkspaceLogMessage |
( |
const QString & |
logText | ) |
|
◆ scheduledOnto()
◆ setIsScheduled()
void setIsScheduled |
( |
bool |
scheduled | ) |
|
|
protected |
◆ setPreventProcessIn()
void setPreventProcessIn |
( |
int |
msecs | ) |
|
◆ signalAppendLog
void signalAppendLog |
( |
const QByteArray |
logContent, |
|
|
const QString |
uuid |
|
) |
| |
|
signal |
◆ signalAppendSchedulerLog
void signalAppendSchedulerLog |
( |
const QByteArray |
logContent, |
|
|
const QString |
uuid |
|
) |
| |
|
signal |
◆ signalOperationUpdateEventList
◆ start()
◆ stop()