TableServiceGeoReplication Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceGeoReplication
- com.
public final class TableServiceGeoReplication
Geo-Replication information for the Secondary Storage Service.
Constructor Summary
Constructor | Description |
---|---|
TableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime) |
Creates an instance of TableServiceGeoReplication. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getLastSyncTime()
Get a GMT date/time value, to the second. |
Table |
getStatus()
Get the TableServiceGeoReplicationStatus of the secondary location. |
Methods inherited from java.lang.Object
Constructor Details
TableServiceGeoReplication
public TableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime)
Creates an instance of TableServiceGeoReplication.
Parameters:
Method Details
getLastSyncTime
public OffsetDateTime getLastSyncTime()
Get 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 TableServiceGeoReplicationStatus of the secondary location.
Returns:
Applies to
Azure SDK for Java