CanDoTimeout
class CanDoTimeout extends Request
Job mit einem Timeout versehen
Same as CAN_DO, but with a timeout value on how long the job is allowed to run. After the timeout value, the job server will mark the job as failed and notify any listening clients.
Constants
UNUSED |
Nicht genutzer Typ |
CAN_DO |
Registrierung einer Funktion |
CANT_DO |
Abmelden einer Funktion |
RESET_ABILITIES |
Alle Registrierungen löschen |
PRE_SLEEP |
Sleep |
SUBMIT_JOB |
Job hinzufügen |
GRAB_JOB |
Job holen |
WORK_STATUS |
Status |
WORK_COMPLETE |
Complete |
WORK_FAIL |
Fail |
GET_STATUS |
Status |
DOECHO |
Echo |
SUBMIT_JOB_BG |
Submit |
SUBMIT_JOB_HIGH |
Submit |
SET_CLIENT_ID |
Submit |
CAN_DO_TIMEOUT |
Submit |
ALL_YOURS |
All |
WORK_EXCEPTION |
Exception |
OPTION |
Optionen |
WORK_DATA |
Data |
WORK_WARNING |
Warning |
GRAB_JOB_UNIQ |
Uniq |
SUBMIT_JOB_HIGH_BG |
Submit |
SUBMIT_JOB_LOW |
Submit |
SUBMIT_JOB_LOW_BG |
Submit |
SUBMIT_JOB_SCHED |
Submit |
SUBMIT_JOB_EPOCH |
Submit |
Properties
protected integer | $type | from Binary | |
protected string | $magic | from Binary | |
protected SimpleMap | $argument | from Binary |
Methods
__construct($name, $timeout)
Neue Instanz