public interface Stats extends com.vmware.vapi.bindings.Service, StatsTypes
_VAPI_SERVICE_ID| 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.
|
NodeInterfaceStatisticsProperties get(java.lang.String interfaceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
interfaceId - ID of interface to read (required)com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized - Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailablecom.vmware.vapi.std.errors.InternalServerError - Internal Server Errorcom.vmware.vapi.std.errors.NotFound - Not FoundNodeInterfaceStatisticsProperties get(java.lang.String interfaceId, com.vmware.vapi.bindings.client.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.
interfaceId - ID of interface to read (required)invocationConfig - Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized - Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailablecom.vmware.vapi.std.errors.InternalServerError - Internal Server Errorcom.vmware.vapi.std.errors.NotFound - Not Foundvoid get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
Asynchronous 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
interfaceId - ID of interface to read (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback,
com.vmware.vapi.bindings.client.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:
com.vmware.nsx.model.NodeInterfaceStatisticsProperties
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
interfaceId - ID of interface to read (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.