Język

LinkedTransferQueue.HasWaitingConsumer Property

Definition

Returns true if there is at least one consumer waiting to receive an element via Take() or timed Poll(Int64, TimeUnit).

public virtual bool HasWaitingConsumer { [Android.Runtime.Register("hasWaitingConsumer", "()Z", "GetHasWaitingConsumerHandler")] get; }
[<get: Android.Runtime.Register("hasWaitingConsumer", "()Z", "GetHasWaitingConsumerHandler")>]
member this.HasWaitingConsumer : bool

Property Value

true if there is at least one waiting consumer

Implements

Attributes

Remarks

Returns true if there is at least one consumer waiting to receive an element via BlockingQueue.take() or timed poll. The return value represents a momentary state of affairs.

Java reference for java.util.concurrent.LinkedTransferQueue.hasWaitingConsumer.

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