Subhrodip Mohanta 3f09fb70bb
Clear Sonar Blockers (#1643)
* remove debt from CachingTest

https://sonarcloud.io/project/issues?fileUuids=AW3G0SevwB6UiZzQNqXR&id=iluwatar_java-design-patterns&open=AXK0Ozo--CiGJS70dLl0&resolved=false
 
Signed-off-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>

* fixed few debts for Spatial Partition module

Mainly convertig Hashtable to HashMaps

Signed-off-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>

* fixed some logger norms

Signed-off-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>

* fixed few errors as it got mixed with the stash

Signed-off-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
2021-01-30 13:37:52 +02:00
..
2019-12-07 18:03:49 +02:00
2021-01-30 13:37:52 +02:00
2020-07-26 11:30:42 +03:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Caching caching /patterns/caching/ Behavioral
Performance
Cloud distributed

Intent

To avoid expensive re-acquisition of resources by not releasing the resources immediately after their use. The resources retain their identity, are kept in some fast-access storage, and are re-used to avoid having to acquire them again.

Class diagram

alt text

Applicability

Use the Caching pattern(s) when

  • Repetitious acquisition, initialization, and release of the same resource causes unnecessary performance overhead.

Credits