interface SignalInterface in Ultimate Cron 8.2
Hierarchy
- interface \Drupal\ultimate_cron\Signal\SignalInterface
Expanded class hierarchy of SignalInterface
All classes that implement SignalInterface
1 file declares its use of SignalInterface
- SignalCache.php in src/
Signal/ SignalCache.php
File
- src/
Signal/ SignalInterface.php, line 5
Namespace
Drupal\ultimate_cron\SignalView source
interface SignalInterface {
/**
* Get a signal without claiming it.
*
* @param string $job_id
* The name of the job.
* @param string $signal
* The name of the signal.
*
* @return string
* The signal if any.
*/
public function peek($job_id, $signal);
/**
* Set signal.
*
* @param string $job_id
* The name of the job.
* @param string $signal
* The name of the signal.
*
* @return boolean
* TRUE if the signal was set.
*/
public function set($job_id, $signal);
/**
* Get and claim signal.
*
* @param $job_id
* @param string $signal
* The name of the signal.
*
* @internal param string $name The name of the job.* The name of the job.
* @return string
* The signal if any. If a signal is found, it is "claimed" and therefore
* cannot be claimed again.
*/
public function get($job_id, $signal);
/**
* Clear signals.
*
* @param string $job_id
* The name of the job.
*/
public function flush($job_id);
/**
* Clear signal.
*
* @param string $job_id
* The name of the job.
* @param string $signal
* The name of the signal.
*/
public function clear($job_id, $signal);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SignalInterface:: |
public | function | Clear signal. | 1 |
SignalInterface:: |
public | function | Clear signals. | 1 |
SignalInterface:: |
public | function | Get and claim signal. | 1 |
SignalInterface:: |
public | function | Get a signal without claiming it. | 1 |
SignalInterface:: |
public | function | Set signal. | 1 |