Share via


VolatileCallSite Constructors

Definition

Overloads

VolatileCallSite(MethodHandle)

Creates a call site with a volatile binding to its target.

VolatileCallSite(MethodType)

Creates a call site with a volatile binding to its target.

VolatileCallSite(IntPtr, JniHandleOwnership)

VolatileCallSite(MethodHandle)

Creates a call site with a volatile binding to its target.

[Android.Runtime.Register(".ctor", "(Ljava/lang/invoke/MethodHandle;)V", "", ApiSince=26)]
public VolatileCallSite (Java.Lang.Invoke.MethodHandle? target);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/invoke/MethodHandle;)V", "", ApiSince=26)>]
new Java.Lang.Invoke.VolatileCallSite : Java.Lang.Invoke.MethodHandle -> Java.Lang.Invoke.VolatileCallSite

Parameters

target
MethodHandle

the method handle that will be the initial target of the call site

Attributes

Remarks

Creates a call site with a volatile binding to its target. The target is set to the given value.

Java documentation for java.lang.invoke.VolatileCallSite.VolatileCallSite(java.lang.invoke.MethodHandle).

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

VolatileCallSite(MethodType)

Creates a call site with a volatile binding to its target.

[Android.Runtime.Register(".ctor", "(Ljava/lang/invoke/MethodType;)V", "", ApiSince=26)]
public VolatileCallSite (Java.Lang.Invoke.MethodType? type);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/invoke/MethodType;)V", "", ApiSince=26)>]
new Java.Lang.Invoke.VolatileCallSite : Java.Lang.Invoke.MethodType -> Java.Lang.Invoke.VolatileCallSite

Parameters

type
MethodType

the method type that this call site will have

Attributes

Remarks

Creates a call site with a volatile binding to its target. The initial target is set to a method handle of the given type which will throw an IllegalStateException if called.

Java documentation for java.lang.invoke.VolatileCallSite.VolatileCallSite(java.lang.invoke.MethodType).

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

VolatileCallSite(IntPtr, JniHandleOwnership)

protected VolatileCallSite (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Invoke.VolatileCallSite : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Invoke.VolatileCallSite

Parameters

javaReference
IntPtr

nativeint

Remarks

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