public static class DirectoryListCache.Invalidator extends Object
DirectoryListCache
Modifier and Type | Method and Description |
---|---|
void |
onFileSystemChange(WatchmanOverflowEvent event)
Invoked asynchronously by event bus when Watchman detects too many files changed or unable to
detect changes, this should drop the cache
|
void |
onFileSystemChange(WatchmanPathEvent event)
Invoked asynchronously by event bus when file system change is detected with Watchman
|
void |
onInvalidationFinish(FileHashCacheEvent.InvalidationFinished event)
Executes when all invalidation events were sent
|
void |
onInvalidationStart(FileHashCacheEvent.InvalidationStarted event)
Executes when invalidation is about to start
|
public void onInvalidationStart(FileHashCacheEvent.InvalidationStarted event)
public void onInvalidationFinish(FileHashCacheEvent.InvalidationFinished event)
public void onFileSystemChange(WatchmanPathEvent event)
public void onFileSystemChange(WatchmanOverflowEvent event)