Java.Util.Concurrent.Phaser.BulkRegister Method
Adds the given number of new unarrived parties to this phaser.

Syntax

[Android.Runtime.Register("bulkRegister", "(I)I", "GetBulkRegister_IHandler")]
public virtual int BulkRegister (int parties)

Parameters

parties
the number of additional parties required to advance to the next phase

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif attempting to register more than the maximum supported number of parties
Java.Lang.IllegalArgumentExceptionif parties

Remarks

Adds the given number of new unarrived parties to this phaser. If an ongoing invocation of Phaser.OnAdvance(int, System.Int32) is in progress, this method may await its completion before returning. If this phaser has a parent, and the given number of parties is greater than zero, and this phaser previously had no registered parties, this child phaser is also registered with its parent. If this phaser is terminated, the attempt to register has no effect, and a negative value is returned.

[Android Documentation]

Requirements

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