| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| 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.
|
| Constructor and Description | |
|---|---|
Phaser(Phaser
Equivalent to
Phaser(parent, 0).
|
|
Phaser(Phaser
Creates a new phaser with the given parent and number of registered unarrived parties.
|