Class WindowCache.Entry
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.WindowCache.Entry
-
- Enclosing class:
- WindowCache
private static class WindowCache.Entry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
dead
Marked true when ref.get() returns null and the ref is dead.(package private) WindowCache.Entry
next
Next entry in the hash table's chain list.(package private) WindowCache.PageRef<ByteWindow>
ref
The referenced object.
-
Constructor Summary
Constructors Constructor Description Entry(WindowCache.Entry n, WindowCache.PageRef<ByteWindow> r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
kill()
-
-
-
Field Detail
-
next
final WindowCache.Entry next
Next entry in the hash table's chain list.
-
ref
final WindowCache.PageRef<ByteWindow> ref
The referenced object.
-
dead
volatile boolean dead
Marked true when ref.get() returns null and the ref is dead.A true here indicates that the ref is no longer accessible, and that we therefore need to eventually purge this Entry object out of the bucket's chain.
-
-
Constructor Detail
-
Entry
Entry(WindowCache.Entry n, WindowCache.PageRef<ByteWindow> r)
-
-