Partager via


TableServiceStatistics Class

  • java.lang.Object
    • com.azure.data.tables.models.TableServiceStatistics

Implements

public final class TableServiceStatistics
implements XmlSerializable<TableServiceStatistics>

Stats for the service.

Constructor Summary

Constructor Description
TableServiceStatistics(TableServiceGeoReplication geoReplication)

Creates an instance of TableServiceStatistics class.

Method Summary

Modifier and Type Method and Description
static TableServiceStatistics fromXml(XmlReader xmlReader)

Reads an instance of TableServiceStatistics from the XmlReader.

static TableServiceStatistics fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of TableServiceStatistics from the XmlReader.

TableServiceGeoReplication getGeoReplication()

Get the geoReplication property: Geo-Replication information for the Secondary Storage Service.

XmlWriter toXml(XmlWriter xmlWriter)
XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Methods inherited from java.lang.Object

Constructor Details

TableServiceStatistics

public TableServiceStatistics(TableServiceGeoReplication geoReplication)

Creates an instance of TableServiceStatistics class.

Parameters:

geoReplication - Geo-Replication information for the Secondary Storage Service.

Method Details

fromXml

public static TableServiceStatistics fromXml(XmlReader xmlReader)

Reads an instance of TableServiceStatistics from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.

Returns:

An instance of TableServiceStatistics if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If an error occurs while reading the TableServiceStatistics.

fromXml

public static TableServiceStatistics fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of TableServiceStatistics from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.
rootElementName - Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.

Returns:

An instance of TableServiceStatistics if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If an error occurs while reading the TableServiceStatistics.

getGeoReplication

public TableServiceGeoReplication getGeoReplication()

Get the geoReplication property: Geo-Replication information for the Secondary Storage Service.

Returns:

the geoReplication value.

toXml

public XmlWriter toXml(XmlWriter xmlWriter)

Parameters:

xmlWriter

Throws:

toXml

public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Parameters:

xmlWriter
rootElementName

Throws:

Applies to