docs: optimistic offline lock diagram

This commit is contained in:
Ilkka Seppälä
2025-04-09 21:31:50 +03:00
parent 2aaf712f06
commit 32dbc7faa6
2 changed files with 4 additions and 0 deletions
+4
View File
@@ -35,6 +35,10 @@ Wikipedia says
> Optimistic concurrency control (OCC), also known as optimistic locking, is a concurrency control method applied to transactional systems such as relational database management systems and software transactional memory.
Sequence diagram
![Optimistic Offline Lock sequence diagram](./etc/optimistic-offline-lock-sequence-diagram.png)
## Programmatic Example of Optimistic Offline Lock Pattern in Java
In this section, we delve into the practical implementation of the Optimistic Offline Lock in Java. By following these steps, you can ensure that your application handles data conflicts and concurrency with minimal overhead.
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB