Uses of Class
org.eclipse.jgit.internal.storage.dfs.DfsStreamKey
Packages that use DfsStreamKey
Package
Description
Distributed file system based repository storage.
-
Uses of DfsStreamKey in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs that return DfsStreamKeyModifier and TypeMethodDescriptionDfsPackDescription.getStreamKey(PackExt ext) Get cache key for use by the block cache.static DfsStreamKeyDfsStreamKey.of(DfsRepositoryDescription repo, String name, PackExt ext) Create aDfsStreamKeyMethods in org.eclipse.jgit.internal.storage.dfs with parameters of type DfsStreamKeyModifier and TypeMethodDescriptionbooleanDfsBlockCacheTable.contains(DfsStreamKey key, long position) Check if the block cache contains an object identified by (key, position).<T> TDfsBlockCacheTable.get(DfsStreamKey key, long position) Get the object identified by (key, position) from the block cache.<T> org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.Ref<T>DfsBlockCacheTable.getOrLoadRef(DfsStreamKey key, long position, org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.RefLoader<T> loader) Look up a cached object, creating and loading it if it doesn't exist.booleanDfsBlockCache.hasBlock0(DfsStreamKey key) Quickly check if the cache contains block 0 of the given stream.booleanDfsBlockCacheTable.hasBlock0(DfsStreamKey key) Quickly check if the cache contains block 0 of the given stream.<T> org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.Ref<T>DfsBlockCacheTable.put(DfsStreamKey key, long pos, long size, T v) Put a block in the block cache.<T> org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.Ref<T>DfsBlockCacheTable.putRef(DfsStreamKey key, long size, T v) Put an object in the block cache.