Android Guides | Samples

Java.Util.Concurrent.Atomic.AtomicMarkableReference Class

An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically.

See Also: AtomicMarkableReference

Syntax

[Android.Runtime.Register("java/util/concurrent/atomic/AtomicMarkableReference", DoNotGenerateAcw=true)]
public class AtomicMarkableReference : Object

Remarks

An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically.

Implementation note: This implementation maintains markable references by creating internal objects representing "boxed" [reference, boolean] pairs.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent.Atomic
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Util.Concurrent.Atomic.AtomicMarkableReference are listed below.

See Also: Object

Public Constructors

Protected Constructors

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

Public Properties

[read-only]
IsMarkedBoolean. Returns the current value of the mark.
[read-only]
ReferenceObject. Returns the current value of the reference.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods