The members of Java.Util.Concurrent.Phaser are listed below.
See Also: Inherited members from Java.Lang.Object
Phaser() | Creates a new phaser with no initially registered parties, no parent, and initial phase number 0. | |
Equivalent to Phaser(Phaser, System.Int32). | ||
Creates a new phaser with the given number of registered unarrived parties, no parent, and initial phase number 0. | ||
Creates a new phaser with the given parent and number of registered unarrived parties. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | ArrivedParties | int. Returns the number of registered parties that have arrived at the current phase of this phaser. |
[read-only] | IsTerminated | bool. Returns true if this phaser has been terminated. |
[read-only] | Parent | Phaser. Returns the parent of this phaser, or null if none. |
[read-only] | Phase | int. Returns the current phase number. |
[read-only] | RegisteredParties | int. Returns the number of parties registered at this phaser. |
[read-only] | Root | Phaser. Returns the root ancestor of this phaser, which is the same as this phaser if it has no parent. |
[read-only] | UnarrivedParties | int. Returns the number of registered parties that have not yet arrived at the current phase of this phaser. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Arrive()Arrives at this phaser, without waiting for others to arrive. | ||
ArriveAndAwaitAdvance()Arrives at this phaser and awaits others. | ||
ArriveAndDeregister()Arrives at this phaser and deregisters from it without waiting for others to arrive. | ||
AwaitAdvance(int)Awaits the phase of this phaser to advance from the given phase value, returning immediately if the current phase is not equal to the given phase value or this phaser is terminated. | ||
AwaitAdvanceInterruptibly(int)Awaits the phase of this phaser to advance from the given phase value, throwing InterruptedException if interrupted while waiting, or returning immediately if the current phase is not equal to the given phase value or this phaser is terminated. | ||
AwaitAdvanceInterruptibly(int, long, TimeUnit)Awaits the phase of this phaser to advance from the given phase value or the given timeout to elapse, throwing InterruptedException if interrupted while waiting, or returning immediately if the current phase is not equal to the given phase value or this phaser is terminated. | ||
BulkRegister(int)Adds the given number of new unarrived parties to this phaser. | ||
ForceTermination()Forces this phaser to enter termination state. | ||
Register()Adds a new unarrived party to this phaser. |