mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 12:19:03 +00:00
docs: add diagrams for identity map, intercepting filter, interpreter, iterator
This commit is contained in:
1 parent
9d23a234bb
commit
d8b07ac484
7 files changed
+12
-4
No files matched your search
@@ -31,6 +31,10 @@ Wikipedia says
|
||||
|
||||
> In the design of DBMS, the identity map pattern is a database access design pattern used to improve performance by providing a context-specific, in-memory cache to prevent duplicate retrieval of the same object data from the database.
|
||||
|
||||
Sequence diagram
|
||||
|
||||

|
||||
|
||||
## Programmatic Example of Identity Map Pattern in Java
|
||||
|
||||
For the purpose of this demonstration in Java programming, assume we have already created a database instance, showcasing the Identity Map pattern to avoid duplicate objects in memory.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
Reference in new issue
Block a user