I want to list files from my disk to a BlockingQueue and threads will process them. In midway, if files on disk get updated then queue will also refresh. Is there any way to find if file is in process by thread and need not to be added in queue again?
I want to list files from my disk to a BlockingQueue and threads will
Share
If you want to idnetify the process which have a file open you can use
Found just now using google.
You could do