Interface PushKeyFiles.Watch
- Enclosing class:
PushKeyFiles
public static interface PushKeyFiles.Watch
Watches a key file for the owner of the watcher: the engine's
PushFileWatcher on a server. Called once per file, after its first successful read.- Author:
- Christopher Mindus
Method Summary
Method Details
watch
Watches a file.- Parameters:
file- The file, absolute and normalized.onChange- What to run when the file is created, modified or deleted.- Throws:
IOException- If the file cannot be watched.