What is the purpose of `Phaser` in Java concurrency?

Java Professional Medium

Java Professional — Medium

What is the purpose of `Phaser` in Java concurrency?

Key points

  • `Phaser` is not used to phase out deprecated threads.
  • It is not a lock that rotates between threads in phases.
  • `Phaser` is not a timer for executing tasks in phases.

Ready to go further?

Related questions