WaitStatistics Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. WaitStatistics
- com.
Implements
public final class WaitStatistics
implements JsonSerializable<WaitStatistics>
Wait statistics gathered during query batch execution.
Constructor Summary
| Constructor | Description |
|---|---|
| WaitStatistics() |
Creates an instance of Wait |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Wait |
fromJson(JsonReader jsonReader)
Reads an instance of Wait |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Long |
waitCount()
Get the wait |
| Float |
waitTimeMs()
Get the wait |
| String |
waitType()
Get the wait |
|
Wait |
withWaitCount(Long waitCount)
Set the wait |
|
Wait |
withWaitTimeMs(Float waitTimeMs)
Set the wait |
|
Wait |
withWaitType(String waitType)
Set the wait |
Methods inherited from java.lang.Object
Constructor Details
WaitStatistics
public WaitStatistics()
Creates an instance of WaitStatistics class.
Method Details
fromJson
public static WaitStatistics fromJson(JsonReader jsonReader)
Reads an instance of WaitStatistics from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
waitCount
public Long waitCount()
Get the waitCount property: Total no. of waits.
Returns:
waitTimeMs
public Float waitTimeMs()
Get the waitTimeMs property: Total wait time in millisecond(s).
Returns:
waitType
public String waitType()
Get the waitType property: Type of the Wait.
Returns:
withWaitCount
public WaitStatistics withWaitCount(Long waitCount)
Set the waitCount property: Total no. of waits.
Parameters:
Returns:
withWaitTimeMs
public WaitStatistics withWaitTimeMs(Float waitTimeMs)
Set the waitTimeMs property: Total wait time in millisecond(s).
Parameters:
Returns:
withWaitType
public WaitStatistics withWaitType(String waitType)
Set the waitType property: Type of the Wait.
Parameters:
Returns: