Uses of Enum Class
org.eclipse.jgit.internal.storage.pack.PackExt
Packages that use PackExt
Package
Description
Distributed file system based repository storage.
File based repository storage.
Reading/writing Git pack files.
-
Uses of PackExt in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type PackExtModifier and TypeMethodDescriptionDfsBlockCacheConfig.getCacheHotMap()
Get the map of hot count per pack extension forDfsBlockCache
.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type PackExtModifier and TypeMethodDescriptionvoid
DfsPackDescription.addFileExt
(PackExt ext) Adds the pack file extension to the known list.int
DfsPackDescription.getBlockSize
(PackExt ext) Get blockSize of the file, in bytes.DfsPackDescription.getFileName
(PackExt ext) Get file namelong
DfsPackDescription.getFileSize
(PackExt ext) Get size of the file, in bytes.DfsPackDescription.getStreamKey
(PackExt ext) Get cache key for use by the block cache.boolean
DfsPackDescription.hasFileExt
(PackExt ext) Whether the pack file extension is known to exist.static DfsStreamKey
DfsStreamKey.of
(DfsRepositoryDescription repo, String name, PackExt ext) Create aDfsStreamKey
void
DfsReader.PackLoadListener.onBlockLoad
(String packName, DfsObjDatabase.PackSource src, PackExt ext, long position, DfsReader.PackLoadListener.DfsBlockData dfsBlockData) This is called when a dfs block is loaded into the reader.void
DfsReader.PackLoadListener.onIndexLoad
(String packName, DfsObjDatabase.PackSource src, PackExt ext, long size, Object loadedIdx) This is called when an index reference (e.g.protected abstract ReadableChannel
DfsObjDatabase.openFile
(DfsPackDescription desc, PackExt ext) Open a pack, pack index, or other related file for reading.protected ReadableChannel
InMemoryRepository.MemObjDatabase.openFile
(DfsPackDescription desc, PackExt ext) DfsPackDescription.setBlockSize
(PackExt ext, int blockSize) Set blockSize of the file, in bytes.DfsPackDescription.setFileSize
(PackExt ext, long bytes) Set size of the file in bytes.protected abstract DfsOutputStream
DfsObjDatabase.writeFile
(DfsPackDescription desc, PackExt ext) Open a pack, pack index, or other related file for writing.protected DfsOutputStream
InMemoryRepository.MemObjDatabase.writeFile
(DfsPackDescription desc, PackExt ext) Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type PackExtModifier and TypeMethodDescriptionDfsBlockCacheConfig.setCacheHotMap
(Map<PackExt, Integer> cacheHotMap) Set the map of hot count per pack extension forDfsBlockCache
.Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type PackExtModifierConstructorDescriptionprotected
DfsStreamKey
(int hash, PackExt ext) Constructor for DfsStreamKey. -
Uses of PackExt in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file that return PackExtMethods in org.eclipse.jgit.internal.storage.file with parameters of type PackExtModifier and TypeMethodDescriptionCreate a new similar PackFile with the given extension instead.Constructors in org.eclipse.jgit.internal.storage.file with parameters of type PackExt -
Uses of PackExt in org.eclipse.jgit.internal.storage.pack
Methods in org.eclipse.jgit.internal.storage.pack that return PackExt