Package google.registry.model.ofy
Class CommitLogManifest
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.ofy.CommitLogManifest
-
- All Implemented Interfaces:
DatastoreEntity
,DatastoreOnlyEntity
,java.lang.Cloneable
public class CommitLogManifest extends ImmutableObject implements DatastoreOnlyEntity
Archived Datastore transaction that can be replayed.Entities of this kind are entity group sharded using a
CommitLogBucket
parent. Each object that was saved during this transaction is stored in aCommitLogMutation
child entity.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description CommitLogManifest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommitLogManifest
create(com.googlecode.objectify.Key<CommitLogBucket> parent, org.joda.time.DateTime commitTime, java.util.Set<com.googlecode.objectify.Key<?>> deletions)
static com.googlecode.objectify.Key<CommitLogManifest>
createKey(com.googlecode.objectify.Key<CommitLogBucket> parent, org.joda.time.DateTime commitTime)
static org.joda.time.DateTime
extractCommitTime(com.googlecode.objectify.Key<CommitLogManifest> manifestKey)
Returns the commit time encoded into a CommitLogManifest key.int
getBucketId()
org.joda.time.DateTime
getCommitTime()
com.google.common.collect.ImmutableSet<com.googlecode.objectify.Key<?>>
getDeletions()
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface google.registry.model.replay.DatastoreEntity
beforeDatastoreSaveOnReplay
-
Methods inherited from interface google.registry.model.replay.DatastoreOnlyEntity
toSqlEntity
-
-
-
-
Method Detail
-
getCommitTime
public org.joda.time.DateTime getCommitTime()
-
getBucketId
public int getBucketId()
-
getDeletions
public com.google.common.collect.ImmutableSet<com.googlecode.objectify.Key<?>> getDeletions()
-
create
public static CommitLogManifest create(com.googlecode.objectify.Key<CommitLogBucket> parent, org.joda.time.DateTime commitTime, java.util.Set<com.googlecode.objectify.Key<?>> deletions)
-
createKey
public static com.googlecode.objectify.Key<CommitLogManifest> createKey(com.googlecode.objectify.Key<CommitLogBucket> parent, org.joda.time.DateTime commitTime)
-
extractCommitTime
public static org.joda.time.DateTime extractCommitTime(com.googlecode.objectify.Key<CommitLogManifest> manifestKey)
Returns the commit time encoded into a CommitLogManifest key.
-
-