PHP 클래스 Kohkimakimoto\Worker\Job\Job

파일 보기 프로젝트 열기: kohkimakimoto/workerphp

보호된 프로퍼티들

프로퍼티 타입 설명
$command
$config
$cronTime
$eventLoop
$id
$lastRunTime
$lockFile
$maxProcesses
$name
$nextRunTime

공개 메소드들

메소드 설명
__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 ( )

메소드 상세

__construct() 공개 메소드

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

addRuntimeEntryToJobInfo() 공개 메소드

public addRuntimeEntryToJobInfo ( $pid )

deleteRuntimeEntryToJobInfo() 공개 메소드

public deleteRuntimeEntryToJobInfo ( $pid )

getCommand() 공개 메소드

public getCommand ( )

getCommandParameters() 공개 메소드

getId() 공개 메소드

public getId ( )

getInfo() 공개 메소드

public getInfo ( )

getInfoFilePath() 공개 메소드

public getInfoFilePath ( )

getLastRunTime() 공개 메소드

public getLastRunTime ( )

getMaxProcesses() 공개 메소드

public getMaxProcesses ( )

getName() 공개 메소드

public getName ( )

getNextRunTime() 공개 메소드

public getNextRunTime ( )

hasCronTime() 공개 메소드

public hasCronTime ( )

initInfoFile() 공개 메소드

public initInfoFile ( )

isLimitOfProcesses() 공개 메소드

public isLimitOfProcesses ( )

makeRuntimeJob() 공개 메소드

public makeRuntimeJob ( )

numberOfRuntimeProcesses() 공개 메소드

prefixOfRunFile() 공개 메소드

public prefixOfRunFile ( )

secondsUntilNextRuntime() 공개 메소드

public secondsUntilNextRuntime ( $from = null )

setLastRunTime() 공개 메소드

public setLastRunTime ( $lastRunTime )

toArray() 공개 메소드

public toArray ( )

updateNextRunTime() 공개 메소드

public updateNextRunTime ( )

프로퍼티 상세

$command 보호되어 있는 프로퍼티

protected $command

$config 보호되어 있는 프로퍼티

protected $config

$cronTime 보호되어 있는 프로퍼티

protected $cronTime

$eventLoop 보호되어 있는 프로퍼티

protected $eventLoop

$id 보호되어 있는 프로퍼티

protected $id

$lastRunTime 보호되어 있는 프로퍼티

protected $lastRunTime

$lockFile 보호되어 있는 프로퍼티

protected $lockFile

$maxProcesses 보호되어 있는 프로퍼티

protected $maxProcesses

$name 보호되어 있는 프로퍼티

protected $name

$nextRunTime 보호되어 있는 프로퍼티

protected $nextRunTime