Package com.azure.data.tables.models
Class TableServiceGeoReplication
- java.lang.Object
-
- com.azure.data.tables.models.TableServiceGeoReplication
-
public final class TableServiceGeoReplication extends Object
Geo-Replication information for the Secondary Storage Service.
-
-
Constructor Summary
Constructors Constructor Description TableServiceGeoReplication(TableServiceGeoReplicationStatus status, OffsetDateTime lastSyncTime)Creates an instance ofTableServiceGeoReplication.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimegetLastSyncTime()Get a GMT date/time value, to the second.TableServiceGeoReplicationStatusgetStatus()Get thestatusof the secondary location.
-
-
-
Constructor Detail
-
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 Detail
-
getStatus
public TableServiceGeoReplicationStatus getStatus()
Get thestatusof the secondary location.- Returns:
- The
statusof the secondary location.
-
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:
- The
lastSyncTimevalue.
-
-