JPoller .
Windows, , . . , -, JNA . , JSA-offsers, , FileMonitor ( ), .
If you look at an array of files or less, then, of course, polling is unlikely to be a performance problem, it’s just not a “good solution”, but not so bad as to justify the pain of an unclean java solution. Monitoring folders containing thousands of files, on the other hand, will benefit from direct notification from the OS.
source
share