Package google.registry.model.replay
Class ReplayGap
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.replay.ReplayGap
-
- All Implemented Interfaces:
java.lang.Cloneable
public class ReplayGap extends ImmutableObject
Tracks gaps in transaction ids when replicating from SQL to datastore.SQL -> DS replication uses a Transaction table indexed by a SEQUENCE column, which normally increments monotonically for each committed transaction. Gaps in this sequence can occur when a transaction is rolled back or when a transaction has been initiated but not committed to the table at the time of a query. To protect us from the latter scenario, we need to keep track of these gaps and replay any of them that have been filled in since we processed their batch.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotCompare, ImmutableObject.DoNotHydrate, ImmutableObject.EmptySetToNull, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
-
Field Summary
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Method Summary
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-