@ThreadSafe public final class NoopUfsAbsentPathCache extends java.lang.Object implements UfsAbsentPathCache
UfsAbsentPathCache.UfsAbsentPathCache.FactoryALWAYS, NEVER| Constructor and Description |
|---|
NoopUfsAbsentPathCache()
Creates a new instance of
NoopUfsAbsentPathCache. |
| 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,
java.util.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 processAsync(AlluxioURI path, java.util.List<Inode> prefixInodes)
UfsAbsentPathCacheprocessAsync in interface UfsAbsentPathCachepath - the path to process for the cacheprefixInodes - the existing inodes for the path prefixpublic void addSinglePath(AlluxioURI path)
UfsAbsentPathCacheaddSinglePath in interface UfsAbsentPathCachepath - the path to process for the cachepublic void processExisting(AlluxioURI path)
UfsAbsentPathCacheprocessExisting in interface UfsAbsentPathCachepath - the path to process for the cachepublic boolean isAbsentSince(AlluxioURI path, long absentSince)
UfsAbsentPathCacheisAbsentSince in interface UfsAbsentPathCachepath - the path to checkabsentSince - the time when the cache entry would be considered validCopyright © 2021. All Rights Reserved.