Class TableServiceStatistics

java.lang.Object
com.azure.data.tables.models.TableServiceStatistics
All Implemented Interfaces:
com.azure.xml.XmlSerializable<TableServiceStatistics>

public final class TableServiceStatistics extends Object implements com.azure.xml.XmlSerializable<TableServiceStatistics>
Stats for the service.
  • 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

    • getGeoReplication

      public TableServiceGeoReplication getGeoReplication()
      Get the geoReplication property: Geo-Replication information for the Secondary Storage Service.
      Returns:
      the geoReplication value.
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<TableServiceStatistics>
      Throws:
      XMLStreamException
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<TableServiceStatistics>
      Throws:
      XMLStreamException
    • fromXml

      public static TableServiceStatistics fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      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(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException
      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.