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) booleandirty()voidMark 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:
dirtyin classDfsObjDatabase.PackList
-
clearDirty
void clearDirty()- Specified by:
clearDirtyin classDfsObjDatabase.PackList
-
markDirty
public void markDirty()Description copied from class:DfsObjDatabase.PackListMark 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:
markDirtyin classDfsObjDatabase.PackList
-