@ThreadSafe public final class NoopUfsAbsentPathCache extends Object implements UfsAbsentPathCache
UfsAbsentPathCache
.UfsAbsentPathCache.Factory
Constructor and Description |
---|
NoopUfsAbsentPathCache()
Creates a new instance of
NoopUfsAbsentPathCache . |
Modifier and Type | Method and Description |
---|---|
boolean |
isAbsent(AlluxioURI path)
Returns true if the given path is absent, according to this cache.
|
void |
process(AlluxioURI path,
List<Inode> prefixInodes)
Processes the given path for the cache.
|
void |
processExisting(AlluxioURI path)
Processes the given path that already exists.
|
public NoopUfsAbsentPathCache()
NoopUfsAbsentPathCache
.public void process(AlluxioURI path, List<Inode> prefixInodes)
UfsAbsentPathCache
process
in interface UfsAbsentPathCache
path
- the path to process for the cacheprefixInodes
- the existing inodes for the path prefixpublic void processExisting(AlluxioURI path)
UfsAbsentPathCache
processExisting
in interface UfsAbsentPathCache
path
- the path to process for the cachepublic boolean isAbsent(AlluxioURI path)
UfsAbsentPathCache
isAbsent
in interface UfsAbsentPathCache
path
- the path to checkCopyright © 2023. All Rights Reserved.