kernel/private/classes/ezpcontentpublishingqueueprocessor.php
File containing the ezpContentPublishingQueueProcessor class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Subpackage
- content
- Version
- 4.6.0
\ezpContentPublishingQueueProcessor
Package: kernel\content
This class manages the publishing queue through ezpContentPublishingProcess persistent objects
Properties


\ezpContentPublishingQueueProcessor
$instance= 'null'
static
Singleton instance of ezpContentPublishingQueueProcessor
Default value
null
Details
Methods


childSignalHandler(
$signo, $pid
=
null, $status
=
null
)
:
void
Child process signal handler
Parameters
Name | Type | Description |
---|---|---|
$signo | ||
$pid | ||
$status |


cleanupDeadProcesses(
)
:
void
Checks WORKING processes, and removes from the queue those who are dead


instance(
)
:
\ezpContentPublishingQueueProcessor
static
Singleton class loader
Returns
Type | Description |
---|---|
\ezpContentPublishingQueueProcessor |


isSlotAvailable(
)
:
\ezpContentPublishingQueueProcessor
Checks if a publishing slot is available
Returns
Type | Description |
---|---|
\ezpContentPublishingQueueProcessor |


run(
)
:
void
Main method: infinite method that monitors queued objects, and starts the publishinbg processes if allowed


setOutput(
\ezpAsynchronousPublisherOutput $output
)
:
void
Sets the used output class
Parameters
Name | Type | Description |
---|---|---|
$output | \ezpAsynchronousPublisherOutput |


setSignalHandler(
callback $signalHandler
)
:
void
Sets the signal handler to $signalHandler
Parameters
Name | Type | Description |
---|---|---|
$signalHandler | callback |