Uses of Class
org.eclipse.jgit.internal.storage.dfs.DfsStreamKey
-
Packages that use DfsStreamKey Package Description org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage. -
-
Uses of DfsStreamKey in org.eclipse.jgit.internal.storage.dfs
Subclasses of DfsStreamKey in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description private static class
DfsStreamKey.ByteArrayDfsStreamKey
(package private) static class
DfsStreamKey.ForReverseIndex
Fields in org.eclipse.jgit.internal.storage.dfs declared as DfsStreamKey Modifier and Type Field 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
(package private) DfsStreamKey
DfsInserter. packKey
private DfsStreamKey
DfsPackParser. packKey
Key used during delta resolution reading delta chains.private DfsStreamKey
DfsInserter.StreamLoader. srcPack
(package private) DfsStreamKey
DfsBlock. stream
Methods in org.eclipse.jgit.internal.storage.dfs that return DfsStreamKey Modifier and Type Method 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 aDfsStreamKey
Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsStreamKey Modifier and Type Method 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)
private DfsBlockCache.Ref<PackIndex>
DfsPackFile. loadPackIndex(DfsReader ctx, DfsStreamKey idxKey)
private DfsBlockCache.Ref<PackReverseIndex>
DfsPackFile. loadReverseIdx(DfsReader ctx, 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)
Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsStreamKey Constructor 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)
-