TableServiceGeoReplication Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceGeoReplication
- com.
Implements
public final class TableServiceGeoReplication
implements XmlSerializable<TableServiceGeoReplication>
The TableServiceGeoReplication model.
Constructor Summary
Constructor | Description |
---|---|
TableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime) |
Creates an instance of Table |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Table |
fromXml(XmlReader xmlReader)
Reads an instance of Table |
static
Table |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Table |
Offset |
getLastSyncTime()
Get the last |
Table |
getStatus()
Get the status property: The status of the secondary location. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
TableServiceGeoReplication
public TableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime)
Creates an instance of TableServiceGeoReplication class.
Parameters:
Method Details
fromXml
public static TableServiceGeoReplication fromXml(XmlReader xmlReader)
Reads an instance of TableServiceGeoReplication from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static TableServiceGeoReplication fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of TableServiceGeoReplication from the XmlReader.
Parameters:
Returns:
Throws:
getLastSyncTime
public OffsetDateTime getLastSyncTime()
Get the lastSyncTime property: A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads.
Returns:
getStatus
public TableServiceGeoReplicationStatus getStatus()
Get the status property: The status of the secondary location.
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java