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
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
packs, reftables
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) boolean
dirty()
void
Mark pack list as dirty.Methods inherited from class org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
getLastModified
-
Field Details
-
dirty
private volatile boolean dirty
-
-
Constructor Details
-
PackListImpl
PackListImpl(DfsPackFile[] packs, DfsReftable[] reftables)
-
-
Method Details
-
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
-