PHP Class Scalr_Scaling_FarmRoleMetric, scalr

Inheritance: extends Scalr_Model
Exibir arquivo Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$dtLastPolled
$farmRoleId
$id
$instancesNumber
$lastData
$lastValue
$metricId

Protected Properties

Property Type Description
$dbMessageKeyNotFound
$dbPrimaryKey
$dbPropertyMap
$dbTableName
$logger
$metric Scalr\Model\Entity\ScalingMetric Related ScalingMetric instance
$settings
$settingsRaw

Public Methods

Method Description
__construct ( $id = null )
clearSettings ( )
getMetric ( ) : ScalingMetric Gets related ScalingMetric entity
getScalingDecision ( )
getSetting ( $name )
getSettings ( )
loadBy ( $info )
save ( boolean $forceInsert = false, array $ignoredFields = null ) : Scalr_Model Save current object to database
setSetting ( $name, $value )
setSettings ( $settings )

Method Details

__construct() public method

public __construct ( $id = null )

clearSettings() public method

public clearSettings ( )

getMetric() public method

Gets related ScalingMetric entity
public getMetric ( ) : ScalingMetric
return Scalr\Model\Entity\ScalingMetric

getScalingDecision() public method

public getScalingDecision ( )

getSetting() public method

public getSetting ( $name )

getSettings() public method

public getSettings ( )

loadBy() public method

public loadBy ( $info )

save() public method

Save current object to database
public save ( boolean $forceInsert = false, array $ignoredFields = null ) : Scalr_Model
$forceInsert boolean optional Force insert. (false by default)
$ignoredFields array optional Fields that are not updated
return Scalr_Model Return current object

setSetting() public method

public setSetting ( $name, $value )

setSettings() public method

public setSettings ( $settings )

Property Details

$dbMessageKeyNotFound protected_oe property

protected $dbMessageKeyNotFound

$dbPrimaryKey protected_oe property

protected $dbPrimaryKey

$dbPropertyMap protected_oe property

protected $dbPropertyMap

$dbTableName protected_oe property

protected $dbTableName

$dtLastPolled public_oe property

public $dtLastPolled

$farmRoleId public_oe property

public $farmRoleId

$id public_oe property

public $id

$instancesNumber public_oe property

public $instancesNumber

$lastData public_oe property

public $lastData

$lastValue public_oe property

public $lastValue

$logger protected_oe property

protected $logger

$metric protected_oe property

Related ScalingMetric instance
protected ScalingMetric,Scalr\Model\Entity $metric
return Scalr\Model\Entity\ScalingMetric

$metricId public_oe property

public $metricId

$settings protected_oe property

protected $settings

$settingsRaw protected_oe property

protected $settingsRaw