LinkedBlockingQueue.RemainingCapacity Method

Definition

Returns the number of additional elements that this queue can ideally (in the absence of memory or resource constraints) accept without blocking.

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

Returns

Int32

Implements

Attributes

Remarks

Java documentation for java.util.concurrent.LinkedBlockingQueue.remainingCapacity().

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