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 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, 2012, Oracle and/or its affiliates. All rights reserved.