@ThreadSafe public final class UfsSyncPathCache extends Object
Constructor and Description |
---|
UfsSyncPathCache()
Creates a new instance of
UfsSyncPathCache . |
Modifier and Type | Method and Description |
---|---|
void |
notifySyncedPath(String path,
DescendantType descendantType)
Notifies the cache that the path was synced.
|
boolean |
shouldSyncPath(String path,
long intervalMs) |
public UfsSyncPathCache()
UfsSyncPathCache
.public void notifySyncedPath(String path, DescendantType descendantType)
path
- the path that was synceddescendantType
- the descendant type that the path was synced withpublic boolean shouldSyncPath(String path, long intervalMs)
path
- the path to checkintervalMs
- the sync interval, in msCopyright © 2023. All Rights Reserved.