Page 1 of 1

WatchKey events

Posted: Mon Oct 03, 2016 2:53 pm
by jelofka
Hi,

am a bit puzzled by the order of watchkey events...are they system dependent or consistent across all platforms. Out of the docs i would say system dependent.

Tnx for any reply

Matjaz

Re: WatchKey events

Posted: Mon Oct 03, 2016 9:17 pm
by admin
Yes, it is platform dependent. The documentation notes so clearly here: https://docs.oracle.com/javase/8/docs/a ... rvice.html
many of the details on how events are detected, their timeliness, and whether their ordering is preserved are highly implementation specific.
HTH,
Paul.