Sdílet prostřednictvím


AtomicInteger.Acquire Property

Definition

Returns the current value, with memory effects as specified by VarHandle#getAcquire.

public int Acquire { [Android.Runtime.Register("getAcquire", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getAcquire", "()I", "", ApiSince=33)>]
member this.Acquire : int

Property Value

the value

Attributes

Remarks

Returns the current value, with memory effects as specified by VarHandle#getAcquire.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicInteger.getAcquire().

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