Partager via


TableServiceGeoReplication Class

  • java.lang.Object
    • com.azure.data.tables.models.TableServiceGeoReplication

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
OffsetDateTime getLastSyncTime()

Get a GMT date/time value, to the second.

TableServiceGeoReplicationStatus 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:

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

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 lastSyncTime value.

getStatus

public TableServiceGeoReplicationStatus getStatus()

Get the TableServiceGeoReplicationStatus of the secondary location.

Returns:

The TableServiceGeoReplicationStatus of the secondary location.

Applies to