Uses of Class
org.eclipse.jgit.internal.storage.pack.PackExt
-
Packages that use PackExt Package Description org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage.org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.pack 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 PackExt Modifier and Type Method Description Map<PackExt,Integer>
DfsBlockCacheConfig. getCacheHotMap()
Get the map of hot count per pack extension forDfsBlockCache
.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type PackExt Modifier and Type Method Description void
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.String
DfsPackDescription. getFileName(PackExt ext)
Get file namelong
DfsPackDescription. getFileSize(PackExt ext)
Get size of the file, in bytes.DfsStreamKey
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
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
DfsPackDescription. setBlockSize(PackExt ext, int blockSize)
Set blockSize of the file, in bytes.DfsPackDescription
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 PackExt Modifier and Type Method Description DfsBlockCacheConfig
DfsBlockCacheConfig. 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 PackExt Constructor Description 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 PackExt Modifier and Type Method Description PackExt
PackFile. getPackExt()
Getter for the fieldpackExt
.Methods in org.eclipse.jgit.internal.storage.file with parameters of type PackExt Modifier and Type Method Description PackFile
PackFile. create(PackExt ext)
Create a new similar PackFile with the given extension instead.Constructors in org.eclipse.jgit.internal.storage.file with parameters of type PackExt Constructor Description PackFile(File directory, String id, PackExt ext)
Create a PackFile for a pack or related file.PackFile(File directory, ObjectId id, PackExt ext)
Create a PackFile for a pack or related file. -
Uses of PackExt in org.eclipse.jgit.internal.storage.pack
Methods in org.eclipse.jgit.internal.storage.pack that return PackExt Modifier and Type Method Description static PackExt
PackExt. valueOf(String name)
Returns the enum constant of this type with the specified name.static PackExt[]
PackExt. values()
Returns an array containing the constants of this enum type, in the order they are declared.
-