Module org.eclipse.jgit
Interface DfsPackFile.IndexFactory
- All Known Implementing Classes:
DfsPackFile.CachedStreamIndexFactory
- Enclosing class:
- DfsPackFile
public static interface DfsPackFile.IndexFactory
Returns the indexes for this pack.
We define indexes in different sub interfaces to allow implementing the indexes over different combinations of backends.
Implementations decide if/how to cache the indexes. The calling DfsPackFile will keep the reference to the index as long as it needs it.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTake care of loading the primary and reverse indexes for this pack. -
Method Summary
Modifier and TypeMethodDescriptionReturns a provider of the primary and reverse indexes of this pack
-
Method Details
-
getPackIndexes
DfsPackFile.IndexFactory.PackIndexes getPackIndexes()Returns a provider of the primary and reverse indexes of this pack- Returns:
- an implementation of the
DfsPackFile.IndexFactory.PackIndexesinterface
-