Skip to content

Commit 32dbc7f

Browse files
committed
docs: optimistic offline lock diagram
1 parent 2aaf712 commit 32dbc7f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

optimistic-offline-lock/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Wikipedia says
3535

3636
> 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.
3737
38+
Sequence diagram
39+
40+
![Optimistic Offline Lock sequence diagram](./etc/optimistic-offline-lock-sequence-diagram.png)
41+
3842
## Programmatic Example of Optimistic Offline Lock Pattern in Java
3943

4044
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.
Loading

0 commit comments

Comments
 (0)