Is it possible to detect if the thread has acquired a lock for a particular item in the named cache?
I have an instance where a method is being called from two different streams, and if the lock is being held by the code path, I do not want to release it in the method.
If it is it not held by the calling method, I want to lock it and then release it in the called method.
I have an instance where a method is being called from two different streams, and if the lock is being held by the code path, I do not want to release it in the method.
If it is it not held by the calling method, I want to lock it and then release it in the called method.