Package | Description |
---|---|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
ByteArrayWindow
A
ByteWindow with an underlying byte array for storage. |
(package private) class |
ByteBufferWindow
A window for accessing git packs using a
ByteBuffer for storage. |
Modifier and Type | Field and Description |
---|---|
private ByteWindow |
WindowCursor.window |
Modifier and Type | Field and Description |
---|---|
private java.lang.ref.ReferenceQueue<ByteWindow> |
WindowCache.queue
ReferenceQueue to cleanup released and garbage collected windows.
|
Modifier and Type | Method and Description |
---|---|
(package private) static ByteWindow |
WindowCache.get(PackFile pack,
long offset) |
private ByteWindow |
WindowCache.getOrLoad(PackFile pack,
long position)
Lookup a cached object, creating and loading it if it doesn't exist.
|
private ByteWindow |
WindowCache.load(PackFile pack,
long offset) |
(package private) ByteWindow |
PackFile.mmap(long pos,
int size) |
private ByteWindow |
WindowCache.scan(WindowCache.Entry n,
PackFile pack,
long position) |
Modifier and Type | Method and Description |
---|---|
private WindowCache.Ref |
WindowCache.createRef(PackFile p,
long o,
ByteWindow v) |
Constructor and Description |
---|
Ref(PackFile pack,
long position,
ByteWindow v,
java.lang.ref.ReferenceQueue<ByteWindow> queue) |
Constructor and Description |
---|
Ref(PackFile pack,
long position,
ByteWindow v,
java.lang.ref.ReferenceQueue<ByteWindow> queue) |