this.tx = Preconditions.checkNotNull(tx, "Null tx");
this.objectId = Preconditions.checkNotNull(objectId, "Null objectId");
this.model = Preconditions.checkNotNull(model, "Null model");
this.stateCache = stateCache;
snapshotPropertyMover =
new OversizedPropertyMover(
datastore,
ImmutableList.of(
new MovableProperty(SNAPSHOT_DATA_PROPERTY, SNAPSHOT_OVERSIZED_DATA_PROPERTY,
MovableProperty.PropertyType.TEXT)),
oversizedPropertyBlobWriteListener);
deltaPropertyMover =
new OversizedPropertyMover(
datastore,
ImmutableList.of(
new MovableProperty(DELTA_OP_PROPERTY, DELTA_OVERSIZED_OP_PROPERTY,
MovableProperty.PropertyType.TEXT)),
oversizedPropertyBlobWriteListener);