Package com.azure.data.tables.models
Class TableServiceGeoReplication
java.lang.Object
com.azure.data.tables.models.TableServiceGeoReplication
Geo-Replication information for the Secondary Storage Service.
-
Constructor Summary
ConstructorsConstructorDescriptionTableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime) Creates an instance ofTableServiceGeoReplication. -
Method Summary
Modifier and TypeMethodDescriptionGet a GMT date/time value, to the second.Get thestatusof the secondary location.
-
Constructor Details
-
TableServiceGeoReplication
public TableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime) Creates an instance ofTableServiceGeoReplication.- Parameters:
status- The status of the secondary location.lastSyncTime- 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.
-
-
Method Details
-
getStatus
Get thestatusof the secondary location.- Returns:
- The
statusof the secondary location.
-
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:
- The
lastSyncTimevalue.
-