Uses of Class java.util.concurrent.Phaser (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.util.concurrent.Phaser

- Packages that use Phaser
  Package | Description
  --- | ---
  java.util.concurrent | Utility classes commonly useful in concurrent programming.

- - ### Uses of Phaser in java.util.concurrent

    Methods in java.util.concurrent that return Phaser
    Modifier and Type | Method and Description
    --- | ---
    `Phaser` | Phaser.`getParent()` Returns the parent of this phaser, or `null` if none.
    `Phaser` | Phaser.`getRoot()` Returns the root ancestor of this phaser, which is the same as this phaser if it has no parent.

    Constructors in java.util.concurrent with parameters of type Phaser
    Constructor and Description
    `Phaser(Phaser parent)` Equivalent to `Phaser(parent, 0)`.
    `Phaser(Phaser parent, int parties)` Creates a new phaser with the given parent and number of registered unarrived parties.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.