|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILoad
An interface to get the load of a MythTV backend.
This interface represents the response to a IBackend.queryLoad()
request.
This interface is property-aware
. See the properties-list
for all properties of this interface.
<0>LOAD_AVERAGE_NOW: 0.04 | <1>LOAD_AVERAGE_LAST_5MINS: 0.06 | <2>LOAD_AVERAGE_LAST_15MINS: 0.06
IBackend.queryLoad()
Nested Class Summary | |
---|---|
static class |
ILoad.Props
The properties of an ILoad response. |
Method Summary | |
---|---|
double |
getCurrentLoad()
Gets the current backend load. |
double |
getLast15MinsLoad()
Gets the backend load average of the last 15 minutes. |
double |
getLast5MinsLoad()
Get the backend load average of the last 5 minutes. |
Methods inherited from interface org.jmythapi.IVersionable |
---|
getVersionNr |
Methods inherited from interface org.jmythapi.IPropertyAware |
---|
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
Method Detail |
---|
double getCurrentLoad()
double getLast5MinsLoad()
double getLast15MinsLoad()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |