Package | Description |
---|---|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
Modifier and Type | Class and Description |
---|---|
private static class |
DfsStreamKey.ByteArrayDfsStreamKey |
(package private) static class |
DfsStreamKey.ForReverseIndex |
Modifier and Type | Field and Description |
---|---|
private DfsStreamKey |
DfsStreamKey.ForReverseIndex.idxKey |
(package private) DfsStreamKey |
BlockBasedFile.key
Unique identity of this file while in-memory.
|
(package private) DfsStreamKey |
DfsBlockCache.Ref.key |
(package private) DfsStreamKey |
DeltaBaseCache.Entry.pack |
private DfsStreamKey |
DfsPackParser.packKey
Key used during delta resolution reading delta chains.
|
(package private) DfsStreamKey |
DfsInserter.packKey |
private DfsStreamKey |
DfsInserter.StreamLoader.srcPack |
(package private) DfsStreamKey |
DfsBlock.stream |
Modifier and Type | Method and Description |
---|---|
DfsStreamKey |
DfsPackDescription.getStreamKey(PackExt ext)
Get cache key for use by the block cache.
|
static DfsStreamKey |
DfsStreamKey.of(DfsRepositoryDescription repo,
java.lang.String name,
PackExt ext)
Create a
DfsStreamKey |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
DfsBlock.contains(DfsStreamKey want,
long pos) |
(package private) boolean |
DfsBlockCache.contains(DfsStreamKey key,
long position) |
private void |
DfsBlockCache.creditSpace(long credit,
DfsStreamKey key) |
(package private) DeltaBaseCache.Entry |
DeltaBaseCache.get(DfsStreamKey key,
long position) |
(package private) <T> T |
DfsBlockCache.get(DfsStreamKey key,
long position) |
(package private) <T> DfsBlockCache.Ref<T> |
DfsBlockCache.getOrLoadRef(DfsStreamKey key,
long position,
DfsBlockCache.RefLoader<T> loader)
Look up a cached object, creating and loading it if it doesn't exist.
|
private static java.util.concurrent.atomic.AtomicLong |
DfsBlockCache.getStat(java.util.concurrent.atomic.AtomicReference<java.util.concurrent.atomic.AtomicLong[]> stats,
DfsStreamKey key) |
boolean |
DfsBlockCache.hasBlock0(DfsStreamKey key)
Quickly check if the cache contains block 0 of the given stream.
|
private DfsBlockCache.Ref<PackBitmapIndex> |
DfsPackFile.loadBitmapIndex(DfsReader ctx,
DfsStreamKey bitmapKey,
PackIndex idx,
PackReverseIndex revidx) |
private DfsBlockCache.Ref<PackIndex> |
DfsPackFile.loadPackIndex(DfsReader ctx,
DfsStreamKey idxKey) |
private DfsBlockCache.Ref<PackReverseIndex> |
DfsPackFile.loadReverseIdx(DfsStreamKey revKey,
PackIndex idx) |
private java.util.concurrent.locks.ReentrantLock |
DfsBlockCache.lockFor(DfsStreamKey key,
long position) |
private java.util.concurrent.locks.ReentrantLock |
DfsBlockCache.lockForRef(DfsStreamKey key) |
(package private) void |
DeltaBaseCache.put(DfsStreamKey key,
long offset,
int objectType,
byte[] data) |
(package private) <T> DfsBlockCache.Ref<T> |
DfsBlockCache.put(DfsStreamKey key,
long pos,
long size,
T v) |
(package private) <T> DfsBlockCache.Ref<T> |
DfsBlockCache.putRef(DfsStreamKey key,
long size,
T v) |
private void |
DfsBlockCache.reserveSpace(long reserve,
DfsStreamKey key) |
private <T> T |
DfsBlockCache.scan(DfsBlockCache.HashEntry n,
DfsStreamKey key,
long position) |
private <T> DfsBlockCache.Ref<T> |
DfsBlockCache.scanRef(DfsBlockCache.HashEntry n,
DfsStreamKey key,
long position) |
private int |
DfsBlockCache.slot(DfsStreamKey key,
long position) |
Constructor and Description |
---|
DfsBlock(DfsStreamKey p,
long pos,
byte[] buf) |
Entry(DfsStreamKey key,
long offset,
int type,
byte[] data) |
ForReverseIndex(DfsStreamKey idxKey) |
Ref(DfsStreamKey key,
long position,
long size,
T v) |
StreamLoader(ObjectId id,
int type,
long sz,
DfsStreamKey key,
long pos) |