public class ReviewDbBatchUpdate extends BatchUpdate
BatchUpdate
implementation that supports mixed ReviewDb/NoteDb operations, depending on
the migration state specified in NotesMigration
.
When performing change updates in a mixed ReviewDb/NoteDb environment with ReviewDb primary, the order of operations is very subtle:
BatchUpdate
if at all possible.Modifier and Type | Class and Description |
---|---|
static interface |
ReviewDbBatchUpdate.AssistedFactory |
BatchUpdate.Factory
batchRefUpdate, newChanges, onSubmitValidators, ops, order, project, pushCert, refLogMessage, repoManager, repoOnlyOps, repoView, tz, user, when
Modifier and Type | Method and Description |
---|---|
void |
execute(BatchUpdateListener listener) |
protected Context |
newContext() |
addOp, addRepoOnlyOp, close, execute, getAccount, getRefUpdates, getRepoView, getRevWalk, getUser, initRepository, insertChange, logDebug, logDebug, logDebug, logDebug, logDebug, module, setOnSubmitValidators, setOrder, setPushCertificate, setRefLogMessage, setRepository, updateChangesInParallel
public void execute(BatchUpdateListener listener) throws UpdateException, RestApiException
execute
in class BatchUpdate
UpdateException
RestApiException
protected Context newContext()
newContext
in class BatchUpdate