public class StatsStub extends com.vmware.vapi.internal.bindings.Stub implements Stats
Stats
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, GET_LOCATION_ARCHIVED, GET_LOCATION_CURRENT| Constructor and Description |
|---|
StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
MigrationStatsResult |
get(java.lang.String location,
java.lang.Boolean prePromotion)
To get MP2Policy promotion stats.
|
void |
get(java.lang.String location,
java.lang.Boolean prePromotion,
com.vmware.vapi.bindings.client.AsyncCallback<MigrationStatsResult> asyncCallback)
To get MP2Policy promotion stats.
|
void |
get(java.lang.String location,
java.lang.Boolean prePromotion,
com.vmware.vapi.bindings.client.AsyncCallback<MigrationStatsResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
To get MP2Policy promotion stats.
|
MigrationStatsResult |
get(java.lang.String location,
java.lang.Boolean prePromotion,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
To get MP2Policy promotion stats.
|
public StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public MigrationStatsResult get(java.lang.String location, java.lang.Boolean prePromotion)
StatsSynchronous method overload. Result of the invocation will be reported as a method return value.
public MigrationStatsResult get(java.lang.String location, java.lang.Boolean prePromotion, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StatsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface Statslocation - Location flag (optional, default to CURRENT)prePromotion - Flag to indicate whether to get collection stats before triggering promotion
(optional, default to false)invocationConfig - Configuration for the method invocation.public void get(java.lang.String location,
java.lang.Boolean prePromotion,
com.vmware.vapi.bindings.client.AsyncCallback<MigrationStatsResult> asyncCallback)
StatsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.MigrationStatsResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface Statslocation - Location flag (optional, default to CURRENT)prePromotion - Flag to indicate whether to get collection stats before triggering promotion
(optional, default to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String location,
java.lang.Boolean prePromotion,
com.vmware.vapi.bindings.client.AsyncCallback<MigrationStatsResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StatsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.MigrationStatsResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface Statslocation - Location flag (optional, default to CURRENT)prePromotion - Flag to indicate whether to get collection stats before triggering promotion
(optional, default to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.