WaitStatisticProperties Class
- java.
lang. Object - com.
azure. resourcemanager. mysql. fluent. models. WaitStatisticProperties
- com.
public final class WaitStatisticProperties
The properties of a wait statistic.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| WaitStatisticProperties() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
count()
Get the count property: Wait event count observed in this time interval. |
| String |
databaseName()
Get the database |
|
Offset |
endTime()
Get the end |
| String |
eventName()
Get the event |
| String |
eventTypeName()
Get the event |
| Long |
queryId()
Get the query |
|
Offset |
startTime()
Get the start |
| Double |
totalTimeInMs()
Get the total |
| Long |
userId()
Get the user |
| void |
validate()
Validates the instance. |
|
Wait |
withCount(Long count)
Set the count property: Wait event count observed in this time interval. |
|
Wait |
withDatabaseName(String databaseName)
Set the database |
|
Wait |
withEndTime(OffsetDateTime endTime)
Set the end |
|
Wait |
withEventName(String eventName)
Set the event |
|
Wait |
withEventTypeName(String eventTypeName)
Set the event |
|
Wait |
withQueryId(Long queryId)
Set the query |
|
Wait |
withStartTime(OffsetDateTime startTime)
Set the start |
|
Wait |
withTotalTimeInMs(Double totalTimeInMs)
Set the total |
|
Wait |
withUserId(Long userId)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
WaitStatisticProperties
public WaitStatisticProperties()
Method Details
count
public Long count()
Get the count property: Wait event count observed in this time interval.
Returns:
databaseName
public String databaseName()
Get the databaseName property: Database Name.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: Observation end time.
Returns:
eventName
public String eventName()
Get the eventName property: Wait event name.
Returns:
eventTypeName
public String eventTypeName()
Get the eventTypeName property: Wait event type name.
Returns:
queryId
public Long queryId()
Get the queryId property: Database query identifier.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Observation start time.
Returns:
totalTimeInMs
public Double totalTimeInMs()
Get the totalTimeInMs property: Total time of wait in milliseconds in this time interval.
Returns:
userId
public Long userId()
Get the userId property: Database user identifier.
Returns:
validate
public void validate()
Validates the instance.
withCount
public WaitStatisticProperties withCount(Long count)
Set the count property: Wait event count observed in this time interval.
Parameters:
Returns:
withDatabaseName
public WaitStatisticProperties withDatabaseName(String databaseName)
Set the databaseName property: Database Name.
Parameters:
Returns:
withEndTime
public WaitStatisticProperties withEndTime(OffsetDateTime endTime)
Set the endTime property: Observation end time.
Parameters:
Returns:
withEventName
public WaitStatisticProperties withEventName(String eventName)
Set the eventName property: Wait event name.
Parameters:
Returns:
withEventTypeName
public WaitStatisticProperties withEventTypeName(String eventTypeName)
Set the eventTypeName property: Wait event type name.
Parameters:
Returns:
withQueryId
public WaitStatisticProperties withQueryId(Long queryId)
Set the queryId property: Database query identifier.
Parameters:
Returns:
withStartTime
public WaitStatisticProperties withStartTime(OffsetDateTime startTime)
Set the startTime property: Observation start time.
Parameters:
Returns:
withTotalTimeInMs
public WaitStatisticProperties withTotalTimeInMs(Double totalTimeInMs)
Set the totalTimeInMs property: Total time of wait in milliseconds in this time interval.
Parameters:
Returns:
withUserId
public WaitStatisticProperties withUserId(Long userId)
Set the userId property: Database user identifier.
Parameters:
Returns: