PHP 클래스 Scalr\Model\Entity\ScalrService

부터: 5.11.9 (11.02.2016)
저자: Roman Kondratuk ([email protected])
상속: extends Scalr\Model\AbstractEntity
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$lastFinish DateTime Timestamp of the most recent finish
$lastStart DateTime Timestamp of the most recent start
$name string ID
$numTasks integer The number of processed tasks on last run
$numWorkers integer The number of workers dedicated to the service
$state integer Current state of the service

공개 메소드들

메소드 설명
listStateNames ( ) : array Gets an array of the state definitions

메소드 상세

listStateNames() 공개 정적인 메소드

Gets an array of the state definitions
public static listStateNames ( ) : array
리턴 array Returns an array of the state display names

프로퍼티 상세

$lastFinish 공개적으로 프로퍼티

Timestamp of the most recent finish
public DateTime $lastFinish
리턴 DateTime

$lastStart 공개적으로 프로퍼티

Timestamp of the most recent start
public DateTime $lastStart
리턴 DateTime

$name 공개적으로 프로퍼티

ID
public string $name
리턴 string

$numTasks 공개적으로 프로퍼티

The number of processed tasks on last run
public int $numTasks
리턴 integer

$numWorkers 공개적으로 프로퍼티

The number of workers dedicated to the service
public int $numWorkers
리턴 integer

$state 공개적으로 프로퍼티

Current state of the service
public int $state
리턴 integer