Share via


BatchPoolUsageStatistics Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchPoolUsageStatistics

Implements

public final class BatchPoolUsageStatistics
implements JsonSerializable<BatchPoolUsageStatistics>

Statistics related to Pool usage information.

Method Summary

Modifier and Type Method and Description
static BatchPoolUsageStatistics fromJson(JsonReader jsonReader)

Reads an instance of BatchPoolUsageStatistics from the JsonReader.

Duration getDedicatedCoreTime()

Get the dedicatedCoreTime property: The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool.

OffsetDateTime getLastUpdateTime()

Get the lastUpdateTime property: The time at which the statistics were last updated.

OffsetDateTime getStartTime()

Get the startTime property: The start time of the time range covered by the statistics.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchPoolUsageStatistics fromJson(JsonReader jsonReader)

Reads an instance of BatchPoolUsageStatistics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchPoolUsageStatistics if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDedicatedCoreTime

public Duration getDedicatedCoreTime()

Get the dedicatedCoreTime property: The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool.

Returns:

the dedicatedCoreTime value.

getLastUpdateTime

public OffsetDateTime getLastUpdateTime()

Get the lastUpdateTime property: The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.

Returns:

the lastUpdateTime value.

getStartTime

public OffsetDateTime getStartTime()

Get the startTime property: The start time of the time range covered by the statistics.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to