public class UptimeStub extends com.vmware.vapi.internal.bindings.Stub implements Uptime
Uptime
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
UptimeStub(ApiProvider apiProvider,
StubConfigurationBase config) |
UptimeStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public UptimeStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public UptimeStub(ApiProvider apiProvider, StubConfigurationBase config)
public double get()
Uptime
Synchronous method overload. Result of the invocation will be reported as a method return value.
public double get(InvocationConfig invocationConfig)
Uptime
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(AsyncCallback<java.lang.Double> asyncCallback)
Uptime
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
system uptime
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<java.lang.Double> asyncCallback, InvocationConfig invocationConfig)
Uptime
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