CloudTieringCachePerformance Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.CloudTieringCachePerformance

Implements

public final class CloudTieringCachePerformance
implements JsonSerializable<CloudTieringCachePerformance>

Server endpoint cloud tiering status object.

Method Summary

Modifier and Type Method and Description
Long cacheHitBytes()

Get the cacheHitBytes property: Count of bytes that were served from the local server.

Integer cacheHitBytesPercent()

Get the cacheHitBytesPercent property: Percentage of total bytes (hit + miss) that were served from the local server.

Long cacheMissBytes()

Get the cacheMissBytes property: Count of bytes that were served from the cloud.

static CloudTieringCachePerformance fromJson(JsonReader jsonReader)

Reads an instance of CloudTieringCachePerformance from the JsonReader.

OffsetDateTime lastUpdatedTimestamp()

Get the lastUpdatedTimestamp property: Last updated timestamp.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

cacheHitBytes

public Long cacheHitBytes()

Get the cacheHitBytes property: Count of bytes that were served from the local server.

Returns:

the cacheHitBytes value.

cacheHitBytesPercent

public Integer cacheHitBytesPercent()

Get the cacheHitBytesPercent property: Percentage of total bytes (hit + miss) that were served from the local server.

Returns:

the cacheHitBytesPercent value.

cacheMissBytes

public Long cacheMissBytes()

Get the cacheMissBytes property: Count of bytes that were served from the cloud.

Returns:

the cacheMissBytes value.

fromJson

public static CloudTieringCachePerformance fromJson(JsonReader jsonReader)

Reads an instance of CloudTieringCachePerformance from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the CloudTieringCachePerformance.

lastUpdatedTimestamp

public OffsetDateTime lastUpdatedTimestamp()

Get the lastUpdatedTimestamp property: Last updated timestamp.

Returns:

the lastUpdatedTimestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to