AbstractQueuedLongSynchronizer.State Property

Definition

Returns the current value of synchronization state. -or- Sets the value of synchronization state.

protected long State { [Android.Runtime.Register("getState", "()J", "")] get; [Android.Runtime.Register("setState", "(J)V", "")] set; }
[<get: Android.Runtime.Register("getState", "()J", "")>]
[<set: Android.Runtime.Register("setState", "(J)V", "")>]
member this.State : int64 with get, set

Property Value

current state value

Attributes

Remarks

Property getter documentation:

Returns the current value of synchronization state. This operation has memory semantics of a volatile read.

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.getState().

Property setter documentation:

Sets the value of synchronization state. This operation has memory semantics of a volatile write.

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.setState(long).

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