Share via


Phaser.Arrive Method

Definition

Arrives at this phaser, without waiting for others to arrive.

[Android.Runtime.Register("arrive", "()I", "GetArriveHandler")]
public virtual int Arrive ();
[<Android.Runtime.Register("arrive", "()I", "GetArriveHandler")>]
abstract member Arrive : unit -> int
override this.Arrive : unit -> int

Returns

the arrival phase number, or a negative value if terminated

Attributes

Exceptions

if not terminated and the number of unarrived parties would become negative

Remarks

Arrives at this phaser, without waiting for others to arrive.

It is a usage error for an unregistered party to invoke this method. However, this error may result in an IllegalStateException only upon some subsequent operation on this phaser, if ever.

Java documentation for java.util.concurrent.Phaser.arrive().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to