public class ReftableBatchRefUpdate extends BatchRefUpdate
MAX_WAIT
Modifier | Constructor and Description |
---|---|
protected |
ReftableBatchRefUpdate(DfsReftableDatabase refdb,
DfsObjDatabase odb)
Initialize batch update.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(RevWalk rw,
ProgressMonitor pm,
List<String> options)
Execute this batch update.
|
addCommand, addCommand, addCommand, addPrefixesTo, addProposedTimestamp, blockUntilTimestamps, disableRefLog, execute, getCommands, getPrefixes, getProposedTimestamps, getPushCertificate, getPushOptions, getRefLogIdent, getRefLogMessage, getRefLogMessage, isAllowNonFastForwards, isAtomic, isForceRefLog, isForceRefLog, isRefLogDisabled, isRefLogDisabled, isRefLogIncludingResult, isRefLogIncludingResult, newUpdate, setAllowNonFastForwards, setAtomic, setForceRefLog, setPushCertificate, setPushOptions, setRefLogIdent, setRefLogMessage, toString
protected ReftableBatchRefUpdate(DfsReftableDatabase refdb, DfsObjDatabase odb)
refdb
- database the update will modify.odb
- object database to store the reftable.public void execute(RevWalk rw, ProgressMonitor pm, List<String> options)
The default implementation of this method performs a sequential reference update over each reference.
Implementations must respect the atomicity requirements of the underlying
database as described in BatchRefUpdate.setAtomic(boolean)
and
RefDatabase.performsAtomicTransactions()
.
execute
in class BatchRefUpdate
rw
- a RevWalk to parse tags in case the storage system wants to
store them pre-peeled, a common performance optimization.pm
- progress monitor to receive update status on.options
- a list of option strings; set null to execute withoutCopyright © 2017 Eclipse JGit Project. All rights reserved.