Java.Util.Concurrent.CountDownLatch Members

The members of Java.Util.Concurrent.CountDownLatch are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Constructs a CountDownLatch initialized with the given count.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
Countlong. Returns the current count.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Await()
Causes the current thread to wait until the latch has counted down to zero, unless the thread is Java.Lang.Thread.Interrupt.
Await(long, TimeUnit) : bool
Causes the current thread to wait until the latch has counted down to zero, unless the thread is Java.Lang.Thread.Interrupt, or the specified waiting time elapses.
AwaitAsync() : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
AwaitAsync(long, TimeUnit) : System.Threading.Tasks.Task<bool>
Documentation for this section has not yet been entered.
CountDown()
Decrements the count of the latch, releasing all waiting threads if the count reaches zero.