Table of Contents

Class AtomicMarkableReference<V>

Namespace
Java.Util.Concurrent.Atomic
Assembly
MASES.JNet.dll
public class AtomicMarkableReference<V> : JVMBridgeBase<AtomicMarkableReference<V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition

Type Parameters

V
Inheritance
AtomicMarkableReference<V>
Implements
Extension Methods

Constructors

AtomicMarkableReference(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AtomicMarkableReference(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

AtomicMarkableReference(V, bool)

public AtomicMarkableReference(V arg0, bool arg1)

Parameters

arg0 V

V

arg1 bool

bool

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Reference

public V Reference { get; }

Property Value

V

Methods

AttemptMark(V, bool)

public bool AttemptMark(V arg0, bool arg1)

Parameters

arg0 V

V

arg1 bool

bool

Returns

bool

bool

CompareAndSet(V, V, bool, bool)

public bool CompareAndSet(V arg0, V arg1, bool arg2, bool arg3)

Parameters

arg0 V

V

arg1 V

V

arg2 bool

bool

arg3 bool

bool

Returns

bool

bool

CreatePoolableInstance(V, bool)

HPA initializer for AtomicMarkableReference(V arg0, bool arg1)

public static AtomicMarkableReference<V> CreatePoolableInstance(V arg0, bool arg1)

Parameters

arg0 V
arg1 bool

Returns

AtomicMarkableReference<V>

Get(bool[])

public V Get(bool[] arg0)

Parameters

arg0 bool[]

bool

Returns

V

V

IsMarked()

public bool IsMarked()

Returns

bool

bool

Set(V, bool)

public void Set(V arg0, bool arg1)

Parameters

arg0 V

V

arg1 bool

bool

WeakCompareAndSet(V, V, bool, bool)

public bool WeakCompareAndSet(V arg0, V arg1, bool arg2, bool arg3)

Parameters

arg0 V

V

arg1 V

V

arg2 bool

bool

arg3 bool

bool

Returns

bool

bool

Operators

implicit operator AtomicMarkableReference(AtomicMarkableReference<V>)

public static implicit operator AtomicMarkableReference(AtomicMarkableReference<V> t)

Parameters

t AtomicMarkableReference<V>

Returns

AtomicMarkableReference