GeoReplication Class
- java.
lang. Object - com.
azure. storage. queue. models. GeoReplication
- com.
Implements
public final class GeoReplication
implements XmlSerializable<GeoReplication>
The GeoReplication model.
Constructor Summary
Constructor | Description |
---|---|
GeoReplication() |
Creates an instance of Geo |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Geo |
fromXml(XmlReader xmlReader)
Reads an instance of Geo |
static
Geo |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Geo |
Offset |
getLastSyncTime()
Get the last |
Geo |
getStatus()
Get the status property: The status of the secondary location. |
Geo |
setLastSyncTime(OffsetDateTime lastSyncTime)
Set the last |
Geo |
setStatus(GeoReplicationStatus status)
Set 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
GeoReplication
public GeoReplication()
Creates an instance of GeoReplication class.
Method Details
fromXml
public static GeoReplication fromXml(XmlReader xmlReader)
Reads an instance of GeoReplication from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static GeoReplication fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of GeoReplication 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 GeoReplicationStatus getStatus()
Get the status property: The status of the secondary location.
Returns:
setLastSyncTime
public GeoReplication setLastSyncTime(OffsetDateTime lastSyncTime)
Set 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.
Parameters:
Returns:
setStatus
public GeoReplication setStatus(GeoReplicationStatus status)
Set the status property: The status of the secondary location.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java