Java.Util.Concurrent.Phaser.ArriveAndAwaitAdvance Method
Arrives at this phaser and awaits others.

Syntax

[Android.Runtime.Register("arriveAndAwaitAdvance", "()I", "GetArriveAndAwaitAdvanceHandler")]
public virtual int ArriveAndAwaitAdvance ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif not terminated and the number of unarrived parties would become negative

Remarks

Arrives at this phaser and awaits others. Equivalent in effect to awaitAdvance(arrive()). If you need to await with interruption or timeout, you can arrange this with an analogous construction using one of the other forms of the awaitAdvance method. If instead you need to deregister upon arrival, use awaitAdvance(arriveAndDeregister()).

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.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0