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.