private class FileReftableDatabase.FileReftableBatchRefUpdate extends ReftableBatchRefUpdate
MAX_WAIT
Constructor and Description |
---|
FileReftableBatchRefUpdate(FileReftableDatabase db,
Repository repository) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyUpdates(java.util.List<Ref> newRefs,
java.util.List<ReceiveCommand> pending)
Implements the storage-specific part of the update.
|
execute, write
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
FileReftableBatchRefUpdate(FileReftableDatabase db, Repository repository)
protected void applyUpdates(java.util.List<Ref> newRefs, java.util.List<ReceiveCommand> pending) throws java.io.IOException
ReftableBatchRefUpdate
applyUpdates
in class ReftableBatchRefUpdate
newRefs
- the new refs to createpending
- the pending receive commands to be executedjava.io.IOException
- if any of the writes fail.