Class DeltaBaseCache
java.lang.Object
org.eclipse.jgit.internal.storage.file.DeltaBaseCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DeltaBaseCache.Slot[]
private static final int
(package private) static final SoftReference
<DeltaBaseCache.Entry> private static int
private DeltaBaseCache.Slot
private DeltaBaseCache.Slot
private final int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
(package private) DeltaBaseCache.Entry
private static int
hash
(long position) private void
(package private) static void
private void
(package private) void
private void
-
Field Details
-
CACHE_SZ
private static final int CACHE_SZ- See Also:
-
DEAD
-
defaultMaxByteCount
private static volatile int defaultMaxByteCount -
maxByteCount
private final int maxByteCount -
cache
-
lruHead
-
lruTail
-
openByteCount
private int openByteCount
-
-
Constructor Details
-
DeltaBaseCache
DeltaBaseCache()
-
-
Method Details
-
hash
private static int hash(long position) -
reconfigure
-
get
-
store
-
releaseMemory
private void releaseMemory() -
moveToHead
-
unlink
-
clearEntry
-