public interface Uptime extends Service, UptimeTypes
Uptime
interface provides methods Get the system uptime._VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
double |
get()
Get the system uptime.
|
void |
get(AsyncCallback<java.lang.Double> asyncCallback)
Get the system uptime.
|
void |
get(AsyncCallback<java.lang.Double> asyncCallback,
InvocationConfig invocationConfig)
Get the system uptime.
|
double |
get(InvocationConfig invocationConfig)
Get the system uptime.
|
double get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errordouble get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(AsyncCallback<java.lang.Double> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
system uptime
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<java.lang.Double> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
system uptime
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.