CompletableFuture.NumberOfDependents Property

Definition

Returns the estimated number of CompletableFutures whose completions are awaiting completion of this CompletableFuture.

public virtual int NumberOfDependents { [Android.Runtime.Register("getNumberOfDependents", "()I", "GetGetNumberOfDependentsHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getNumberOfDependents", "()I", "GetGetNumberOfDependentsHandler", ApiSince=24)>]
member this.NumberOfDependents : int

Property Value

the number of dependent CompletableFutures

Attributes

Remarks

Returns the estimated number of CompletableFutures whose completions are awaiting completion of this CompletableFuture. This method is designed for use in monitoring system state, not for synchronization control.

Java documentation for java.util.concurrent.CompletableFuture.getNumberOfDependents().

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