Review request: JDK-8014394 (fs) WatchService failing when watching \\server\$d

Alexey Utkin alexey.utkin at oracle.com
Thu May 23 06:02:24 PDT 2013


On 5/23/2013 5:01 PM, Alan Bateman wrote:
> On 23/05/2013 13:33, Alexey Utkin wrote:
>> Each event increments the counter. If you are looking for stable and 
>> fast changing branches you have a chance of collision on overflow. 
>> The key for stable folder does not change, but new keys run up very 
>> fast.
> It's not each event, it's each time that a new directory is registered 
> (so a completion key per WatchKey or directory).
>
Yes, you are right. Only for new. I missed the first search by FileKey 
instance.
But, jobject is a good completion key.

-uta



More information about the nio-dev mailing list