Метод |
Описание |
|
getCurrentValue ( ) : integer |
The value the application alredy spent in the current period of the usage limit. |
|
getMaxValue ( ) : integer |
Maximum value allowed by the usage limit for the current period. |
|
getMetric ( ) |
Name of the metric the usage limit is defined for. |
|
getPeriod ( ) |
The period of the usage limit. |
|
getPeriodEnd ( ) : integer |
End of the current period of the usage limit, as unix timestamp. |
|
getPeriodStart ( ) : integer |
Start of the current period of the usage limit, as unix timestamp. |
|
isExceeded ( ) |
Is the usage limit corresponding to this report exceeded? |
|
setCurrentValue ( $value ) |
|
|
setMaxValue ( $value ) |
|
|
setMetric ( $metric ) |
|
|
setPeriod ( $period ) |
|
|
setPeriodInterval ( $start, $end ) |
|
|