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 |
WindowCache.StrongRef.referent |
private ByteWindow |
WindowCursor.window |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentLinkedQueue<WindowCache.PageRef<ByteWindow>> |
WindowCache.StrongCleanupQueue.queue |
(package private) WindowCache.PageRef<ByteWindow> |
WindowCache.Entry.ref
The referenced object.
|
Modifier and Type | Method and Description |
---|---|
ByteWindow |
WindowCache.StrongRef.get() |
(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.PageRef<ByteWindow> |
WindowCache.createRef(PackFile p,
long o,
ByteWindow v) |
Modifier and Type | Method and Description |
---|---|
private WindowCache.PageRef<ByteWindow> |
WindowCache.createRef(PackFile p,
long o,
ByteWindow v) |
Modifier and Type | Method and Description |
---|---|
private void |
WindowCache.clear(WindowCache.PageRef<ByteWindow> ref) |
boolean |
WindowCache.CleanupQueue.enqueue(WindowCache.PageRef<ByteWindow> r) |
boolean |
WindowCache.SoftCleanupQueue.enqueue(WindowCache.PageRef<ByteWindow> r) |
boolean |
WindowCache.StrongCleanupQueue.enqueue(WindowCache.PageRef<ByteWindow> r) |
Constructor and Description |
---|
SoftRef(PackFile pack,
long position,
ByteWindow v,
WindowCache.SoftCleanupQueue queue) |
StrongRef(PackFile pack,
long position,
ByteWindow v,
WindowCache.CleanupQueue queue) |
Constructor and Description |
---|
Entry(WindowCache.Entry n,
WindowCache.PageRef<ByteWindow> r) |