PHP Класс Scalr\Model\Entity\ScalrService

С версии: 5.11.9 (11.02.2016)
Автор: Roman Kondratuk ([email protected])
Наследование: extends Scalr\Model\AbstractEntity
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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