mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-24 00:28:09 +00:00
docs: updates to several patterns
This commit is contained in:
+1
-5
@@ -28,7 +28,7 @@ In plain words
|
||||
|
||||
> Caching pattern keeps frequently needed data in fast-access storage to improve performance.
|
||||
|
||||
Wikipedia says:
|
||||
Wikipedia says
|
||||
|
||||
> In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere. A cache hit occurs when the requested data can be found in a cache, while a cache miss occurs when it cannot. Cache hits are served by reading data from the cache, which is faster than recomputing a result or reading from a slower data store; thus, the more requests that can be served from the cache, the faster the system performs.
|
||||
|
||||
@@ -419,10 +419,6 @@ UserAccount(userId=003, userName=Adam, additionalInfo=He likes food.)
|
||||
17:00:56.314 [Thread-0] INFO com.iluwatar.caching.CacheStore -- # flushCache...
|
||||
```
|
||||
|
||||
## Class diagram
|
||||
|
||||

|
||||
|
||||
## Applicability
|
||||
|
||||
Use the Caching pattern when
|
||||
|
||||
Reference in New Issue
Block a user