All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
CampaignQueueMessagesInOutboxJob Class Reference
Inheritance diagram for CampaignQueueMessagesInOutboxJob:
AutoresponderOrCampaignQueueMessagesInOutboxBaseJob AutoresponderOrCampaignBaseJob BaseJob

Public Member Functions

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

Static Public Member Functions

static getDisplayName ()
- Static Public Member Functions inherited from AutoresponderOrCampaignBaseJob
static getType ()
static getRecommendedRunFrequencyContent ()
- 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 ()

Protected Member Functions

 processRun ()
 processCampaignItemInQueue (CampaignItem $campaignItem)
 runGarbageCollection ($campaignItem)
- Protected Member Functions inherited from AutoresponderOrCampaignBaseJob
 resolveBatchSize ()
 runGarbageCollection ($item)
 forgetModelsWithForgottenValidators ()
 addMaxmimumProcessingCountMessage ($modelsProcessedCount, $startingMemoryUsage)
 hasReachedMaximumProcessingCount ($modelsProcessedCount, $batchSize)
 addMaximumMemoryUsageReached ()

Static Protected Attributes

static $loadJobQueueOnCleanupAndFallback = true
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false

Additional Inherited Members

- Data Fields inherited from BaseJob
- Protected Attributes inherited from AutoresponderOrCampaignBaseJob
 $modelIdentifiersForForgottenValidators = array()
- Protected Attributes inherited from BaseJob

Detailed Description

A job for processing campaign messages that are not sent immediately when triggered

Definition at line 40 of file CampaignQueueMessagesInOutboxJob.php.

Member Function Documentation

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

Definition at line 51 of file CampaignQueueMessagesInOutboxJob.php.

run ( )
See Also

Definition at line 59 of file CampaignQueueMessagesInOutboxJob.php.

runGarbageCollection (   $campaignItem)

Not pretty, but gets the job done. Solves memory leak problem.


Definition at line 138 of file CampaignQueueMessagesInOutboxJob.php.

The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:41