Monday, January 11, 2016

Singleton Creation in Java to handle concurrency


Singleton Design Pattern using Lazy Instantiation

https://www.youtube.com/watch?v=CYMoiJ8d1Us


Singleton Design Pattern using Synchronized getInstance

https://www.youtube.com/watch?v=wRMNQH5tgKw


Singleton Design Pattern using Double Checked Locking

https://www.youtube.com/watch?v=yvwIZzur-lw




Singleton Design Pattern using enum INSTANCE

https://www.youtube.com/watch?v=YOi5i-93lgo

1 comment: