public interface UfsAbsentPathCache
Modifier and Type | Interface and Description |
---|---|
static class |
UfsAbsentPathCache.Factory
Factory class for
UfsAbsentPathCache . |
Modifier and Type | Method and Description |
---|---|
void |
addSinglePath(AlluxioURI path)
Add a single path to the absent cache synchronously.
|
boolean |
isAbsentSince(AlluxioURI path,
long absentSince)
Returns true if the given path was found to be absent since absentSince, according to this
cache.
|
void |
processAsync(AlluxioURI path,
List<Inode> prefixInodes)
Processes the given path for the cache.
|
void |
processExisting(AlluxioURI path)
Processes the given path that already exists.
|
static final long ALWAYS
static final long NEVER
void processAsync(AlluxioURI path, List<Inode> prefixInodes)
path
- the path to process for the cacheprefixInodes
- the existing inodes for the path prefixvoid addSinglePath(AlluxioURI path)
path
- the path to process for the cachevoid processExisting(AlluxioURI path)
path
- the path to process for the cacheboolean isAbsentSince(AlluxioURI path, long absentSince)
path
- the path to checkabsentSince
- the time when the cache entry would be considered validCopyright © 2023. All Rights Reserved.