PHP 클래스 Scalr_Scaling_FarmRoleMetric

상속: extends Scalr_Model
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$dtLastPolled
$farmRoleId
$id
$instancesNumber
$lastData
$lastValue
$metricId

보호된 프로퍼티들

프로퍼티 타입 설명
$dbMessageKeyNotFound
$dbPrimaryKey
$dbPropertyMap
$dbTableName
$logger
$metric Scalr\Model\Entity\ScalingMetric Related ScalingMetric instance
$settings
$settingsRaw

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( $id = null )

clearSettings() 공개 메소드

public clearSettings ( )

getMetric() 공개 메소드

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

getScalingDecision() 공개 메소드

public getScalingDecision ( )

getSetting() 공개 메소드

public getSetting ( $name )

getSettings() 공개 메소드

public getSettings ( )

loadBy() 공개 메소드

public loadBy ( $info )

save() 공개 메소드

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
리턴 Scalr_Model Return current object

setSetting() 공개 메소드

public setSetting ( $name, $value )

setSettings() 공개 메소드

public setSettings ( $settings )

프로퍼티 상세

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

protected $dbMessageKeyNotFound

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

protected $dbPrimaryKey

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

protected $dbPropertyMap

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

protected $dbTableName

$dtLastPolled 공개적으로 프로퍼티

public $dtLastPolled

$farmRoleId 공개적으로 프로퍼티

public $farmRoleId

$id 공개적으로 프로퍼티

public $id

$instancesNumber 공개적으로 프로퍼티

public $instancesNumber

$lastData 공개적으로 프로퍼티

public $lastData

$lastValue 공개적으로 프로퍼티

public $lastValue

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

protected $logger

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

Related ScalingMetric instance
protected ScalingMetric,Scalr\Model\Entity $metric
리턴 Scalr\Model\Entity\ScalingMetric

$metricId 공개적으로 프로퍼티

public $metricId

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

protected $settings

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

protected $settingsRaw