Java Concurrent Animated
This presentation consists of a series of animations that visualize the functionality of the components in the java.util.concurrent library. Each animation features buttons that correspond to the method calls in that component. Each click of a button creates a thread to call methods on the component, showing how the threads interact in real time. The animations are controlled by the actual Java concurrent component it is illustrating, so the animation is not only a visual demonstration, it's also a code sample.
Key points covered will be - An explanation of the use case for each of 14 concurrent components. - Description of the design pattern handled by the component - How the concurrent component handles the use case - Visualization through animation of the use case. Components covered include, - Executors (non-fair & fair) - Runnable/Callable - Semaphore - Future - Reentrant Lock - ReadWriteLock - Condition - BlockingQueue - CyclicBarrier - Phaser – TransferQueue - CountDownLatch - CompletionService - ConcurrentHashMap - Fork & join - Compare & Swap If you’re still using constructs like Thread.start or wait/notify, you'll want to attend this meeting. The presentation is packaged as a self-executable Java Archive (JAR) file and is available for download. It'll serve as a valuable reference for any Java practitioner.
About Victor Grazi
Victor Grazi is Vice President of Java Consultancy at Credit Suisse Architecture.
He is a Java evangelist and has been building real time financial systems in Java since JDK version 1.02
More About Victor »