Using Locks for Concurrent Updates
NCache provides a clustered environment where multiple clients can access cache data. In such a situation, parallel requests may occur for same data changes e.g. multiple parallel threads from within multiple applications can issue an update call against the same data.
If you want to make sure that no application or thread performs functions on any data set simultaneously, NCache provides two different locking techniques to cater situations like that.
In this Section
Locking Overview
Explains the basic concepts of locking in detail along with their use cases.
Lock Items Exclusively
Explains how to lock items exclusively.
Lock Items with Cache Item versioning
Explains how to lock items using cache item versioning.