Java Guru
Posts: 70
Nickname: skumjava
Registered: Feb, 2016
|
Java Guru has 6+ years exp in Java Programming, He is writer at http://singletonjava.blogspot.com
|
|
|
|
Java Exchanger
|
Posted: Feb 29, 2016 2:16 PM
|
|
|
This post originated from an RSS feed registered with Java Buzz
by Java Guru.
|
Original Post: Java Exchanger
Feed Title: Java Interview Questions and Answers with Example
Feed URL: http://singletonjava.blogspot.com/feeds/posts/default?alt=rss
Feed Description: Blog for Java techniques and Programming Tutorials, Examples, Design Patterns, Interview Questions and Answers, Cloud, Virtualization, XML, Docker, Multithreading, Collection, Error and Exception, Java Singleton Design Pattern, Docker Interview Questions, String, Executor Service, Array List, TreeSet, HashMap, Concurrency
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Java Guru
Latest Posts From Java Interview Questions and Answers with Example
|
|
Introduction to Java Exchanger
Java Exchanger class is a synchronization point where threads can swap elements. In other words, Exchanger provides two way mechanism to exchange objects between threads. So now you can give your object and take his objects between pairs. It is some sort of bidirectional form of SynchronousQueue.
It is available from Java 1.5 however it is not very much
Read: Java Exchanger
|
|