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 | 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
const JOB_QUEUE_PAGE_SIZE = 100
 
- Protected Attributes inherited from AutoresponderOrCampaignBaseJob
 $modelIdentifiersForForgottenValidators = array()
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 

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 ( )
static
Returns
Translated label that describes this job type.

Definition at line 51 of file CampaignQueueMessagesInOutboxJob.php.

run ( )
See Also
BaseJob::run()

Definition at line 59 of file CampaignQueueMessagesInOutboxJob.php.

runGarbageCollection (   $campaignItem)
protected

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

Parameters
CampaignItem$campaignItem

Definition at line 138 of file CampaignQueueMessagesInOutboxJob.php.


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