public interface Timesync extends Service, TimesyncTypes
Timesync
interface provides methods Performs time synchronization
configuration. This interface was added in vSphere API 6.7.TimesyncTypes.TimeSyncMode
Modifier and Type | Method and Description |
---|---|
TimesyncTypes.TimeSyncMode |
get()
Get time synchronization mode.
|
void |
get(AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback)
Get time synchronization mode.
|
void |
get(AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback,
InvocationConfig invocationConfig)
Get time synchronization mode.
|
TimesyncTypes.TimeSyncMode |
get(InvocationConfig invocationConfig)
Get time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
AsyncCallback<java.lang.Void> asyncCallback)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
InvocationConfig invocationConfig)
Set time synchronization mode.
|
void set(TimesyncTypes.TimeSyncMode mode)
Synchronous method overload. Result of the invocation will be reported as a method return value.
mode
- Time synchronization mode.Error
- Generic errorvoid set(TimesyncTypes.TimeSyncMode mode, 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.
mode
- Time synchronization mode.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(TimesyncTypes.TimeSyncMode mode, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
mode
- Time synchronization mode.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(TimesyncTypes.TimeSyncMode mode, AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- Generic error
mode
- Time synchronization mode.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TimesyncTypes.TimeSyncMode get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorTimesyncTypes.TimeSyncMode 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<TimesyncTypes.TimeSyncMode> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Time synchronization mode.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<TimesyncTypes.TimeSyncMode> 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.
Operation Result:
Time synchronization mode.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.