Skip to content

Commit 848620d

Browse files
committed
typo
1 parent 0110de1 commit 848620d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubbornjava-webapp/ui/src/posts/lazy-loading-and-caching-objects-in-java-with-guava-s-suppliers-memoize.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="anchored-md">
22
{{#assign "markdown"}}
3-
Lazy loading and caching are extremely useful tools in the developer toolbox, like most tools they can be often overused / abused so use them sparingly. Lazy loading can be useful when creating a singleton with any variety of double checked locking, static holder class, enum singleton pattern, ect. Lazy loading is also great for expensive operations that you only need to handle some of the time. Hibernate heavily utilizes lazy loading. Lazy loading can either be request scoped or in a more global scope. Google's Guava provides an extremely convenient way to create lazy loaded values as well as caching individual values with or without an expiration.
3+
Lazy loading and caching are extremely useful tools in the developer toolbox, like most tools they can be often overused / abused so use them sparingly. Lazy loading can be useful when creating a singleton with any variety of double checked locking, static holder class, enum singleton pattern, etc. Lazy loading is also great for expensive operations that you only need to handle some of the time. Hibernate heavily utilizes lazy loading. Lazy loading can either be request scoped or in a more global scope. Google's Guava provides an extremely convenient way to create lazy loaded values as well as caching individual values with or without an expiration.
44

55
## Supplier
66
We will be using a very simple "hello world" `Supplier` that will log every time it is called.

0 commit comments

Comments
 (0)