public class DfsReftableBatchRefUpdate extends ReftableBatchRefUpdate
MAX_WAIT| Modifier | Constructor and Description |
|---|---|
protected |
DfsReftableBatchRefUpdate(DfsReftableDatabase refdb,
DfsObjDatabase odb)
Initialize batch update.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyUpdates(List<Ref> newRefs,
List<ReceiveCommand> pending)
Implements the storage-specific part of the update.
|
execute, writeaddCommand, 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, toStringprotected DfsReftableBatchRefUpdate(DfsReftableDatabase refdb, DfsObjDatabase odb)
refdb - database the update will modify.odb - object database to store the reftable.protected void applyUpdates(List<Ref> newRefs, List<ReceiveCommand> pending) throws IOException
ReftableBatchRefUpdateapplyUpdates in class ReftableBatchRefUpdatenewRefs - the new refs to createpending - the pending receive commands to be executedIOException - if any of the writes fail.Copyright © 2020 Eclipse JGit Project. All rights reserved.