ProcessItemInterface implementation with SysV IPC message queue.

  • experimental The experimental flag means that while we believe this method or class is ready for use, it may change before release in backwards- incompatible ways. Please use with caution, and test thoroughly when upgrading.
CloneableInstantiable
ImplementsGoogle\Cloud\Core\Batch\ProcessItemInterface
Methods
public flush( $idNum)
 
Run the job with the given id. This has no effect and simply always returns false when using the batch daemon.

  • return bool
public submit( $item, $idNum)
 
Submit an item for async processing.

  • return void
  • throws RuntimeException when failed to store the item.
Properties
private static $productionKey
private $sysvQs
private static $typeDirect
private static $typeFile
Methods
private getSysvKey( $idNum)
 
Create a SystemV IPC key for the given id number.

Set GOOGLE_CLOUD_SYSV_ID envvar to change the base id.

  • return int
private isDaemonRunning()
 
Returns whether or not the BatchDaemon is running.

  • return bool
private isSysvIPCLoaded()
 
Determine whether the SystemV IPC extension family is loaded.

  • return bool
Properties
private static $productionKey
private static $typeDirect
private static $typeFile
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only