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
nullDetails
Methods

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

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

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

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

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

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

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