Class FileReftableDatabase.FileReftableBatchRefUpdate
- java.lang.Object
-
- org.eclipse.jgit.lib.BatchRefUpdate
-
- org.eclipse.jgit.internal.storage.reftable.ReftableBatchRefUpdate
-
- org.eclipse.jgit.internal.storage.file.FileReftableDatabase.FileReftableBatchRefUpdate
-
- Enclosing class:
- FileReftableDatabase
private class FileReftableDatabase.FileReftableBatchRefUpdate extends ReftableBatchRefUpdate
-
-
Field Summary
-
Fields inherited from class org.eclipse.jgit.lib.BatchRefUpdate
MAX_WAIT
-
-
Constructor Summary
Constructors Constructor Description FileReftableBatchRefUpdate(FileReftableDatabase db, Repository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyUpdates(java.util.List<Ref> newRefs, java.util.List<ReceiveCommand> pending)
Implements the storage-specific part of the update.-
Methods inherited from class org.eclipse.jgit.internal.storage.reftable.ReftableBatchRefUpdate
execute, write
-
Methods inherited from class org.eclipse.jgit.lib.BatchRefUpdate
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
-
-
-
-
Constructor Detail
-
FileReftableBatchRefUpdate
FileReftableBatchRefUpdate(FileReftableDatabase db, Repository repository)
-
-
Method Detail
-
applyUpdates
protected void applyUpdates(java.util.List<Ref> newRefs, java.util.List<ReceiveCommand> pending) throws java.io.IOException
Description copied from class:ReftableBatchRefUpdate
Implements the storage-specific part of the update.- Specified by:
applyUpdates
in classReftableBatchRefUpdate
- Parameters:
newRefs
- the new refs to createpending
- the pending receive commands to be executed- Throws:
java.io.IOException
- if any of the writes fail.
-
-