Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes
MonitorJob Class Reference
Inheritance diagram for MonitorJob:
BaseJob

Public Member Functions

 run ()
 
- Public Member Functions inherited from BaseJob
 run ()
 
 getErrorMessage ()
 
 setMessageLogger (MessageLogger $messageLogger)
 
 getMessageLogger ()
 

Static Public Member Functions

static getDisplayName ()
 
static getType ()
 
static getRecommendedRunFrequencyContent ()
 
static getStuckStringContent ()
 
static getRunTimeThresholdInSeconds ()
 
static makeJobStuckNotification (array $jobTitleLabels)
 
- Static Public Member Functions inherited from BaseJob
static shouldLoadJobQueueOnCleanupAndFallback ()
 
static getDisplayName ()
 
static getType ()
 
static resolveJobsForQueue ()
 
static loadJobQueue ()
 
static getRecommendedRunFrequencyContent ()
 
static getDefaultMessageLogger ()
 
static getRunTimeThresholdInSeconds ()
 
static showInJobManagerToRunManually ()
 
static jobExecutionInQueueDependsOnTime ()
 

Static Protected Member Functions

static getNonMonitorJobsInProcessModels ()
 
static getNonMonitorJobLogsUnprocessedWithErrors ()
 
static updateUnprocessedJobLogsWithoutErrors ()
 

Static Protected Attributes

static $pageSize = 50
 
static $stuckNotificationThreshold = 4
 
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false
 

Additional Inherited Members

- Data Fields inherited from BaseJob
const JOB_QUEUE_PAGE_SIZE = 100
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 

Detailed Description

A job for monitoring all other jobs and making sure they are functioning properly.

Definition at line 40 of file MonitorJob.php.

Member Function Documentation

static getDisplayName ( )
static
Returns
Translated label that describes this job type.

Definition at line 49 of file MonitorJob.php.

static getType ( )
static
Returns
The type of the NotificationRules

Definition at line 57 of file MonitorJob.php.

static getStuckStringContent ( )
static
Returns
translated string to use when communicating that the monitor is stuck.

Definition at line 70 of file MonitorJob.php.

static updateUnprocessedJobLogsWithoutErrors ( )
staticprotected

Single sql query to improve performance

Definition at line 180 of file MonitorJob.php.

static makeJobStuckNotification ( array  $jobTitleLabels)
static
Parameters
array$jobTitleLabels

Definition at line 189 of file MonitorJob.php.


The documentation for this class was generated from the following file:
Generated on Fri Jul 10 2020 07:10:54
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.