AtomicReferenceFieldUpdater.LazySet(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Eventually sets the field of the given object managed by this updater to the given updated value.
[Android.Runtime.Register("lazySet", "(Ljava/lang/Object;Ljava/lang/Object;)V", "GetLazySet_Ljava_lang_Object_Ljava_lang_Object_Handler")]
public abstract void LazySet (Java.Lang.Object? obj, Java.Lang.Object? newValue);
[<Android.Runtime.Register("lazySet", "(Ljava/lang/Object;Ljava/lang/Object;)V", "GetLazySet_Ljava_lang_Object_Ljava_lang_Object_Handler")>]
abstract member LazySet : Java.Lang.Object * Java.Lang.Object -> unit
Parameters
- obj
- Object
An object whose field to set
- newValue
- Object
the new value
- Attributes
Remarks
Eventually sets the field of the given object managed by this updater to the given updated value.
Added in 1.6.
Java documentation for java.util.concurrent.atomic.AtomicReferenceFieldUpdater.lazySet(T, V)
.
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.