Class DfsObjDatabase.PackList
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
-
- Enclosing class:
- DfsObjDatabase
public abstract static class DfsObjDatabase.PackList extends Object
Snapshot of packs scanned in a single pass.
-
-
Field Summary
Fields Modifier and Type Field Description DfsPackFile[]
packs
All known packs, sorted.DfsReftable[]
reftables
All known reftables, sorted.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description long
getLastModified()
abstract void
markDirty()
Mark pack list as dirty.
-
-
-
Field Detail
-
packs
public final DfsPackFile[] packs
All known packs, sorted.
-
reftables
public final DfsReftable[] reftables
All known reftables, sorted.
-
-
Method Detail
-
getLastModified
public long getLastModified()
- Returns:
- last modified time of all packs, in milliseconds.
-
markDirty
public abstract void markDirty()
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.
-
-