Class DfsBlockCache.Ref<T>
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.Ref<T>
-
- Enclosing class:
- DfsBlockCache
static final class DfsBlockCache.Ref<T> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
hot
(package private) DfsStreamKey
key
(package private) DfsBlockCache.Ref
next
(package private) long
position
(package private) long
size
(package private) T
value
-
Constructor Summary
Constructors Constructor Description Ref(DfsStreamKey key, long position, long size, T v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) T
get()
(package private) boolean
has()
-
-
-
Field Detail
-
key
final DfsStreamKey key
-
position
final long position
-
size
final long size
-
value
volatile T value
-
next
DfsBlockCache.Ref next
-
hot
volatile boolean hot
-
-
Constructor Detail
-
Ref
Ref(DfsStreamKey key, long position, long size, T v)
-
-
Method Detail
-
get
T get()
-
has
boolean has()
-
-