|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUptime
An interface to get the uptime of a MythTV backend.
This interface represents the response to a IBackend.queryUptime() request.
This interface is property-aware. See the properties-list for all properties of this interface.
<0>UPTIME_SECONDS: 1163950
IBackend.queryUptime(),
QUERY_UPTIME| Version | Date | Additional Version Info | |
|---|---|---|---|
| Added | 15 | 2005-03-23 | Changelog, MythTV-Release: 0.18, SVN-Rev.: 5833 |
| Removed | -1 |
| Nested Class Summary | |
|---|---|
static class |
IUptime.Props
Properties of the IUptime response. |
| Method Summary | |
|---|---|
Date |
getStartupTime()
Gts the startup time of the backend. |
Date |
getStartupTime(Date uptimeLoadedDate)
|
Integer |
getUptimeSeconds()
Gets the uptime in seconds |
Integer |
getUptimeSeconds(Date uptimeLoadedDate)
|
| 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 |
|---|
Integer getUptimeSeconds()
-1 if unknownIUptime.Props.UPTIME_SECONDSInteger getUptimeSeconds(Date uptimeLoadedDate)
Date getStartupTime()
This date/time is calculated using the uptime in seconds.
Date getStartupTime(Date uptimeLoadedDate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||