Strategized Locking

Learn about the strategized locking pattern.

The idea behind the strategized locking is to change the locking strategy during run or compile time. Let’s assume we have a component used in a different environment. Sometimes we want to lock it, unlock it, or use a shared lock. How can this be done? Recall the strategy ...