Language

VarHandle.AccessMode.GetAndSetAcquire Property

Definition

The access mode whose access is specified by the corresponding method VarHandle.getAndSetAcquire

[Android.Runtime.Register("GET_AND_SET_ACQUIRE", ApiSince=33)]
public static Java.Lang.Invoke.VarHandle.AccessMode GetAndSetAcquire { get; }
[<Android.Runtime.Register("GET_AND_SET_ACQUIRE", ApiSince=33)>]
static member GetAndSetAcquire : Java.Lang.Invoke.VarHandle.AccessMode

Property Value

The GetAndSetAcquire(Object[]) mode for an atomic replacement that returns the previous value, with acquire read ordering and plain write ordering. Use IsAccessModeSupported(VarHandle+AccessMode) to check support for a handle.

Attributes

Remarks

The access mode whose access is specified by the corresponding method VarHandle.getAndSetAcquire

Java reference for java.lang.invoke.VarHandle.AccessMode.GET_AND_SET_ACQUIRE.

Applies to