public interface ProjectFileHashCache extends ProjectFileHashLoader
FileHashLoader
which manages caching file hashes for a given ProjectFilesystem
.Modifier and Type | Method and Description |
---|---|
default java.util.stream.Stream<Map.Entry<Path,com.google.common.hash.HashCode>> |
debugDump() |
ProjectFilesystem |
getFilesystem() |
void |
invalidate(Path path) |
void |
invalidateAll() |
boolean |
isIgnored(Path path) |
void |
set(Path path,
com.google.common.hash.HashCode hashCode) |
default FileHashCache.FileHashCacheVerificationResult |
verify() |
boolean |
willGet(ArchiveMemberPath archiveMemberPath) |
boolean |
willGet(Path path) |
get, getForArchiveMember, getIfPresent, getSize
ProjectFilesystem getFilesystem()
boolean willGet(Path path)
boolean willGet(ArchiveMemberPath archiveMemberPath)
boolean isIgnored(Path path)
void invalidate(Path path)
void invalidateAll()
void set(Path path, com.google.common.hash.HashCode hashCode) throws IOException
IOException
default FileHashCache.FileHashCacheVerificationResult verify() throws IOException
IOException
default java.util.stream.Stream<Map.Entry<Path,com.google.common.hash.HashCode>> debugDump()