PHP Class Scalr\Model\Entity\ScalrService

Since: 5.11.9 (11.02.2016)
Author: Roman Kondratuk ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity
Mostra file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$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

Public Methods

Method Description
listStateNames ( ) : array Gets an array of the state definitions

Method Details

listStateNames() public static method

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

Property Details

$lastFinish public_oe property

Timestamp of the most recent finish
public DateTime $lastFinish
return DateTime

$lastStart public_oe property

Timestamp of the most recent start
public DateTime $lastStart
return DateTime

$name public_oe property

ID
public string $name
return string

$numTasks public_oe property

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

$numWorkers public_oe property

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

$state public_oe property

Current state of the service
public int $state
return integer