SynchronousQueue Constructors

Definition

Overloads

SynchronousQueue()

Creates a SynchronousQueue with nonfair access policy.

SynchronousQueue(Boolean)

Creates a SynchronousQueue with the specified fairness policy.

SynchronousQueue(IntPtr, JniHandleOwnership)

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

SynchronousQueue()

Creates a SynchronousQueue with nonfair access policy.

[Android.Runtime.Register(".ctor", "()V", "")]
public SynchronousQueue ();
Attributes

Remarks

Creates a SynchronousQueue with nonfair access policy.

Java documentation for java.util.concurrent.SynchronousQueue.SynchronousQueue().

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

SynchronousQueue(Boolean)

Creates a SynchronousQueue with the specified fairness policy.

[Android.Runtime.Register(".ctor", "(Z)V", "")]
public SynchronousQueue (bool fair);
[<Android.Runtime.Register(".ctor", "(Z)V", "")>]
new Java.Util.Concurrent.SynchronousQueue : bool -> Java.Util.Concurrent.SynchronousQueue

Parameters

fair
Boolean

if true, waiting threads contend in FIFO order for access; otherwise the order is unspecified.

Attributes

Remarks

Creates a SynchronousQueue with the specified fairness policy.

Java documentation for java.util.concurrent.SynchronousQueue.SynchronousQueue(boolean).

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

SynchronousQueue(IntPtr, JniHandleOwnership)

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

protected SynchronousQueue (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.SynchronousQueue : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.SynchronousQueue

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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