共用方式為


WaitStatisticProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.mysql.fluent.models.WaitStatisticProperties

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 databaseName property: Database Name.

OffsetDateTime endTime()

Get the endTime property: Observation end time.

String eventName()

Get the eventName property: Wait event name.

String eventTypeName()

Get the eventTypeName property: Wait event type name.

Long queryId()

Get the queryId property: Database query identifier.

OffsetDateTime startTime()

Get the startTime property: Observation start time.

Double totalTimeInMs()

Get the totalTimeInMs property: Total time of wait in milliseconds in this time interval.

Long userId()

Get the userId property: Database user identifier.

void validate()

Validates the instance.

WaitStatisticProperties withCount(Long count)

Set the count property: Wait event count observed in this time interval.

WaitStatisticProperties withDatabaseName(String databaseName)

Set the databaseName property: Database Name.

WaitStatisticProperties withEndTime(OffsetDateTime endTime)

Set the endTime property: Observation end time.

WaitStatisticProperties withEventName(String eventName)

Set the eventName property: Wait event name.

WaitStatisticProperties withEventTypeName(String eventTypeName)

Set the eventTypeName property: Wait event type name.

WaitStatisticProperties withQueryId(Long queryId)

Set the queryId property: Database query identifier.

WaitStatisticProperties withStartTime(OffsetDateTime startTime)

Set the startTime property: Observation start time.

WaitStatisticProperties withTotalTimeInMs(Double totalTimeInMs)

Set the totalTimeInMs property: Total time of wait in milliseconds in this time interval.

WaitStatisticProperties withUserId(Long userId)

Set the userId property: Database user identifier.

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:

the count value.

databaseName

public String databaseName()

Get the databaseName property: Database Name.

Returns:

the databaseName value.

endTime

public OffsetDateTime endTime()

Get the endTime property: Observation end time.

Returns:

the endTime value.

eventName

public String eventName()

Get the eventName property: Wait event name.

Returns:

the eventName value.

eventTypeName

public String eventTypeName()

Get the eventTypeName property: Wait event type name.

Returns:

the eventTypeName value.

queryId

public Long queryId()

Get the queryId property: Database query identifier.

Returns:

the queryId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Observation start time.

Returns:

the startTime value.

totalTimeInMs

public Double totalTimeInMs()

Get the totalTimeInMs property: Total time of wait in milliseconds in this time interval.

Returns:

the totalTimeInMs value.

userId

public Long userId()

Get the userId property: Database user identifier.

Returns:

the userId value.

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:

count - the count value to set.

Returns:

the WaitStatisticProperties object itself.

withDatabaseName

public WaitStatisticProperties withDatabaseName(String databaseName)

Set the databaseName property: Database Name.

Parameters:

databaseName - the databaseName value to set.

Returns:

the WaitStatisticProperties object itself.

withEndTime

public WaitStatisticProperties withEndTime(OffsetDateTime endTime)

Set the endTime property: Observation end time.

Parameters:

endTime - the endTime value to set.

Returns:

the WaitStatisticProperties object itself.

withEventName

public WaitStatisticProperties withEventName(String eventName)

Set the eventName property: Wait event name.

Parameters:

eventName - the eventName value to set.

Returns:

the WaitStatisticProperties object itself.

withEventTypeName

public WaitStatisticProperties withEventTypeName(String eventTypeName)

Set the eventTypeName property: Wait event type name.

Parameters:

eventTypeName - the eventTypeName value to set.

Returns:

the WaitStatisticProperties object itself.

withQueryId

public WaitStatisticProperties withQueryId(Long queryId)

Set the queryId property: Database query identifier.

Parameters:

queryId - the queryId value to set.

Returns:

the WaitStatisticProperties object itself.

withStartTime

public WaitStatisticProperties withStartTime(OffsetDateTime startTime)

Set the startTime property: Observation start time.

Parameters:

startTime - the startTime value to set.

Returns:

the WaitStatisticProperties object itself.

withTotalTimeInMs

public WaitStatisticProperties withTotalTimeInMs(Double totalTimeInMs)

Set the totalTimeInMs property: Total time of wait in milliseconds in this time interval.

Parameters:

totalTimeInMs - the totalTimeInMs value to set.

Returns:

the WaitStatisticProperties object itself.

withUserId

public WaitStatisticProperties withUserId(Long userId)

Set the userId property: Database user identifier.

Parameters:

userId - the userId value to set.

Returns:

the WaitStatisticProperties object itself.

Applies to