I have a class calling IndexSearcherManager,
it has a set of synchronized methods, because it is a web application (so multi-threaded environment) and
these methods do operations on a file system.
But sometimes in my code I need to 'lock' the access to this file system.
I want the requests to these synchronized methods been waiting until I unlock it again.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.