public abstract static class DfsObjDatabase.PackList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
lastModified |
DfsPackFile[] |
packs
All known packs, sorted.
|
DfsReftable[] |
reftables
All known reftables, sorted.
|
Constructor and Description |
---|
PackList(DfsPackFile[] packs,
DfsReftable[] reftables) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
clearDirty() |
(package private) abstract boolean |
dirty() |
long |
getLastModified() |
abstract void |
markDirty()
Mark pack list as dirty.
|
public final DfsPackFile[] packs
public final DfsReftable[] reftables
private long lastModified
PackList(DfsPackFile[] packs, DfsReftable[] reftables)
public long getLastModified()
abstract boolean dirty()
abstract void clearDirty()
public abstract void markDirty()
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.