Class DfsBlockCache.Ref<T>
java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.Ref<T>
- Enclosing class:
- DfsBlockCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
(package private) final DfsStreamKey
(package private) DfsBlockCache.Ref
(package private) final long
(package private) final long
private AtomicInteger
(package private) T
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
-
position
final long position -
size
final long size -
value
-
next
DfsBlockCache.Ref next -
hotCount
private volatile int hotCount -
totalHitCount
-
-
Constructor Details
-
Ref
Ref(DfsStreamKey key, long position, long size, T v)
-
-
Method Details
-
get
T get() -
has
boolean has() -
markHotter
void markHotter() -
markColder
void markColder() -
isHot
boolean isHot()
-