Class DfsObjDatabase.PackListImpl
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
-
- org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackListImpl
-
- Enclosing class:
- DfsObjDatabase
private static final class DfsObjDatabase.PackListImpl extends DfsObjDatabase.PackList
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
dirty
-
Fields inherited from class org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
packs, reftables
-
-
Constructor Summary
Constructors Constructor Description PackListImpl(DfsPackFile[] packs, DfsReftable[] reftables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
clearDirty()
(package private) boolean
dirty()
void
markDirty()
Mark pack list as dirty.-
Methods inherited from class org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
getLastModified
-
-
-
-
Constructor Detail
-
PackListImpl
PackListImpl(DfsPackFile[] packs, DfsReftable[] reftables)
-
-
Method Detail
-
dirty
boolean dirty()
- Specified by:
dirty
in classDfsObjDatabase.PackList
-
clearDirty
void clearDirty()
- Specified by:
clearDirty
in classDfsObjDatabase.PackList
-
markDirty
public void markDirty()
Description copied from class:DfsObjDatabase.PackList
Mark pack list as dirty.Used when the caller knows that new data might have been written to the repository that could invalidate open readers depending on this pack list, for example if refs are newly scanned.
- Specified by:
markDirty
in classDfsObjDatabase.PackList
-
-