Omeka_Job_Dispatcher_DispatcherInterface
Package: Job\Dispatcher
- interface Omeka_Job_Dispatcher_DispatcherInterface
Interface for job dispatchers in Omeka.
- setQueueName($name)
Set the name of the queue to which jobs will be sent.
NOTE: This may be ignored by adapters that do not understand the notion of named queues (or queues in general).
- Parameters:
$name (
string
) –
- send($jobClass, $options = array())
- Parameters:
$jobClass (
string
) – Name of a class that implements Omeka_JobInterface.$options (
array
) – Optional Associative array containing options that the task needs in order to do its job. Note that all options should be primitive data types (or arrays containing primitive data types).