Sdílet prostřednictvím


ReentrantReadWriteLock.ReentrantReadLock.NewCondition Method

Definition

Throws UnsupportedOperationException because ReadLocks do not support conditions.

[Android.Runtime.Register("newCondition", "()Ljava/util/concurrent/locks/Condition;", "GetNewConditionHandler")]
public virtual Java.Util.Concurrent.Locks.ICondition? NewCondition ();
[<Android.Runtime.Register("newCondition", "()Ljava/util/concurrent/locks/Condition;", "GetNewConditionHandler")>]
abstract member NewCondition : unit -> Java.Util.Concurrent.Locks.ICondition
override this.NewCondition : unit -> Java.Util.Concurrent.Locks.ICondition

Returns

Implements

Attributes

Exceptions

Remarks

Throws UnsupportedOperationException because ReadLocks do not support conditions.

Java documentation for java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock.newCondition().

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