Module org.eclipse.jgit
Class DfsPackFile.CachedStreamIndexFactory
java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsPackFile.CachedStreamIndexFactory
- All Implemented Interfaces:
DfsPackFile.IndexFactory
- Enclosing class:
- DfsPackFile
public static final class DfsPackFile.CachedStreamIndexFactory
extends Object
implements DfsPackFile.IndexFactory
An index factory backed by Dfs streams and references cached in
DfsBlockCache
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jgit.internal.storage.dfs.DfsPackFile.IndexFactory
DfsPackFile.IndexFactory.PackIndexes -
Constructor Summary
ConstructorsConstructorDescriptionCachedStreamIndexFactory(DfsBlockCache cache, DfsPackDescription desc) An index factory -
Method Summary
Modifier and TypeMethodDescriptionReturns a provider of the primary and reverse indexes of this pack
-
Constructor Details
-
CachedStreamIndexFactory
An index factory- Parameters:
cache- DFS block cache to use for the referencesdesc- This factory loads indexes for this package
-
-
Method Details
-
getPackIndexes
Description copied from interface:DfsPackFile.IndexFactoryReturns a provider of the primary and reverse indexes of this pack- Specified by:
getPackIndexesin interfaceDfsPackFile.IndexFactory- Returns:
- an implementation of the
DfsPackFile.IndexFactory.PackIndexesinterface
-