PHP Class Kohkimakimoto\Worker\Job\Job

Afficher le fichier Open project: kohkimakimoto/workerphp

Protected Properties

Свойство Type Description
$command
$config
$cronTime
$eventLoop
$id
$lastRunTime
$lockFile
$maxProcesses
$name
$nextRunTime

Méthodes publiques

Méthode Description
__construct ( $id, $name, $command, $config )
addRuntimeEntryToJobInfo ( $pid )
deleteRuntimeEntryToJobInfo ( $pid )
getCommand ( )
getCommandParameters ( )
getId ( )
getInfo ( )
getInfoFilePath ( )
getLastRunTime ( )
getMaxProcesses ( )
getName ( )
getNextRunTime ( )
hasCronTime ( )
initInfoFile ( )
isLimitOfProcesses ( )
makeRuntimeJob ( )
numberOfRuntimeProcesses ( )
prefixOfRunFile ( )
secondsUntilNextRuntime ( $from = null )
setLastRunTime ( $lastRunTime )
toArray ( )
updateNextRunTime ( )

Method Details

__construct() public méthode

public __construct ( $id, $name, $command, $config )

addRuntimeEntryToJobInfo() public méthode

public addRuntimeEntryToJobInfo ( $pid )

deleteRuntimeEntryToJobInfo() public méthode

public deleteRuntimeEntryToJobInfo ( $pid )

getCommand() public méthode

public getCommand ( )

getCommandParameters() public méthode

getId() public méthode

public getId ( )

getInfo() public méthode

public getInfo ( )

getInfoFilePath() public méthode

public getInfoFilePath ( )

getLastRunTime() public méthode

public getLastRunTime ( )

getMaxProcesses() public méthode

public getMaxProcesses ( )

getName() public méthode

public getName ( )

getNextRunTime() public méthode

public getNextRunTime ( )

hasCronTime() public méthode

public hasCronTime ( )

initInfoFile() public méthode

public initInfoFile ( )

isLimitOfProcesses() public méthode

public isLimitOfProcesses ( )

makeRuntimeJob() public méthode

public makeRuntimeJob ( )

numberOfRuntimeProcesses() public méthode

prefixOfRunFile() public méthode

public prefixOfRunFile ( )

secondsUntilNextRuntime() public méthode

public secondsUntilNextRuntime ( $from = null )

setLastRunTime() public méthode

public setLastRunTime ( $lastRunTime )

toArray() public méthode

public toArray ( )

updateNextRunTime() public méthode

public updateNextRunTime ( )

Property Details

$command protected_oe property

protected $command

$config protected_oe property

protected $config

$cronTime protected_oe property

protected $cronTime

$eventLoop protected_oe property

protected $eventLoop

$id protected_oe property

protected $id

$lastRunTime protected_oe property

protected $lastRunTime

$lockFile protected_oe property

protected $lockFile

$maxProcesses protected_oe property

protected $maxProcesses

$name protected_oe property

protected $name

$nextRunTime protected_oe property

protected $nextRunTime