WaitStatisticInner Class

public final class WaitStatisticInner
extends ProxyResource

Represents a Wait Statistic.

Constructor Summary

Constructor Description
WaitStatisticInner()

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.

WaitStatisticInner withCount(Long count)

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

WaitStatisticInner withDatabaseName(String databaseName)

Set the databaseName property: Database Name.

WaitStatisticInner withEndTime(OffsetDateTime endTime)

Set the endTime property: Observation end time.

WaitStatisticInner withEventName(String eventName)

Set the eventName property: Wait event name.

WaitStatisticInner withEventTypeName(String eventTypeName)

Set the eventTypeName property: Wait event type name.

WaitStatisticInner withQueryId(Long queryId)

Set the queryId property: Database query identifier.

WaitStatisticInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Observation start time.

WaitStatisticInner withTotalTimeInMs(Double totalTimeInMs)

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

WaitStatisticInner withUserId(Long userId)

Set the userId property: Database user identifier.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

WaitStatisticInner

public WaitStatisticInner()

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 WaitStatisticInner withCount(Long count)

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

Parameters:

count - the count value to set.

Returns:

the WaitStatisticInner object itself.

withDatabaseName

public WaitStatisticInner withDatabaseName(String databaseName)

Set the databaseName property: Database Name.

Parameters:

databaseName - the databaseName value to set.

Returns:

the WaitStatisticInner object itself.

withEndTime

public WaitStatisticInner withEndTime(OffsetDateTime endTime)

Set the endTime property: Observation end time.

Parameters:

endTime - the endTime value to set.

Returns:

the WaitStatisticInner object itself.

withEventName

public WaitStatisticInner withEventName(String eventName)

Set the eventName property: Wait event name.

Parameters:

eventName - the eventName value to set.

Returns:

the WaitStatisticInner object itself.

withEventTypeName

public WaitStatisticInner withEventTypeName(String eventTypeName)

Set the eventTypeName property: Wait event type name.

Parameters:

eventTypeName - the eventTypeName value to set.

Returns:

the WaitStatisticInner object itself.

withQueryId

public WaitStatisticInner withQueryId(Long queryId)

Set the queryId property: Database query identifier.

Parameters:

queryId - the queryId value to set.

Returns:

the WaitStatisticInner object itself.

withStartTime

public WaitStatisticInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Observation start time.

Parameters:

startTime - the startTime value to set.

Returns:

the WaitStatisticInner object itself.

withTotalTimeInMs

public WaitStatisticInner 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 WaitStatisticInner object itself.

withUserId

public WaitStatisticInner withUserId(Long userId)

Set the userId property: Database user identifier.

Parameters:

userId - the userId value to set.

Returns:

the WaitStatisticInner object itself.

Applies to