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| 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 |
|---|---|
NodeInterfaceStatisticsProperties |
get(java.lang.String interfaceId)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
void |
get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
void |
get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
NodeInterfaceStatisticsProperties |
get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
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 NodeInterfaceStatisticsProperties get(java.lang.String interfaceId)
StatsSynchronous method overload. Result of the invocation will be reported as a method return value.
public NodeInterfaceStatisticsProperties get(java.lang.String interfaceId, 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.
public void get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
StatsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.NodeInterfaceStatisticsProperties
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> 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.NodeInterfaceStatisticsProperties
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found