Using volatile vs AtomicInteger in Java concurrency

Publicado el: 03 julio 2018
en el canal de: Defog Tech
346,777
7.4k

When to use volatile, and when to use Atomic counterparts like AtomicInteger? What are the advantages and use cases of each?


Channel
----------------------------------
Complex concepts explained in short & simple manner. Topics include Java Concurrency, Spring Boot, Microservices, Distributed Systems etc. Feel free to ask any doubts in the comments. Also happy to take requests for new videos.

Subscribe or explore the channel -    / defogtech  

New video added every weekend.

Popular Videos
----------------------------------
What is an API Gateway -    • What is an API Gateway?  
Executor Service -    • Java ExecutorService - Part 1 - Introduction  
Introduction to CompletableFuture -    • Introduction to CompletableFuture in Java 8  
Java Memory Model in 10 minutes -    • Java Memory Model in 10 minutes  
Volatile vs Atomic -    • Using volatile vs AtomicInteger in Java co...  
What is Spring Webflux -    • What is Spring Webflux and when to use it?  
Java Concurrency Interview question -    • Java Concurrency Interview Question: How t...  


En esta página del sitio puede ver el video en línea Using volatile vs AtomicInteger in Java concurrency de Duración hora minuto segunda en buena calidad , que subió el usuario Defog Tech 03 julio 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 346,777 veces y le gustó 7.4 mil a los espectadores. Disfruta viendo!