Property | Type | Description | |
---|---|---|---|
$dateLastPolled | DateTime | Time of last polled | |
$farmRoleId | integer | FarmRole Id | |
$id | integer | Identifier | |
$lastData | string | Last data | |
$lastValue | string | last value | |
$metricId | integer | ScalingMetric Id | |
$settings | Scalr\Util\ObjectAccess | Settings |
Property | Type | Description | |
---|---|---|---|
$_farmRole | FarmRole entity | ||
$_metric | ScalingMetric |
Method | Description | |
---|---|---|
__construct ( ) | ||
__get ( $prop ) | ||
__set ( $name, $value ) | ||
delete ( ) | ||
getFarmRole ( ) : |
Get FarmRole entity | |
save ( ) | ||
setupScalingTimes ( ) | Setup scaling times for DateAndTime scaling metrics |
Method | Description | |
---|---|---|
convertTime ( string | DateTim\DateTime $date, string $format ) : string | If $date instanceof DateTime function will convert time to format |
public getFarmRole ( ) : |
||
return |
public setupScalingTimes ( ) |
protected FarmRole,Scalr\Model\Entity $_farmRole | ||
return |
protected ScalingMetric,Scalr\Model\Entity $_metric | ||
return |