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
initializerIJVMBridgeBaseInitializer
AtomicMarkableReference(V, bool)
public AtomicMarkableReference(V arg0, bool arg1)
Parameters
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Reference
public V Reference { get; }
Property Value
- V
Methods
AttemptMark(V, bool)
public bool AttemptMark(V arg0, bool arg1)
Parameters
Returns
CompareAndSet(V, V, bool, bool)
public bool CompareAndSet(V arg0, V arg1, bool arg2, bool arg3)
Parameters
Returns
CreatePoolableInstance(V, bool)
HPA initializer for AtomicMarkableReference(V arg0, bool arg1)
public static AtomicMarkableReference<V> CreatePoolableInstance(V arg0, bool arg1)
Parameters
arg0Varg1bool
Returns
Get(bool[])
public V Get(bool[] arg0)
Parameters
Returns
- V
V
IsMarked()
public bool IsMarked()
Returns
Set(V, bool)
public void Set(V arg0, bool arg1)
Parameters
WeakCompareAndSet(V, V, bool, bool)
public bool WeakCompareAndSet(V arg0, V arg1, bool arg2, bool arg3)
Parameters
Returns
Operators
implicit operator AtomicMarkableReference(AtomicMarkableReference<V>)
Converter from AtomicMarkableReference<V> to AtomicMarkableReference
public static implicit operator AtomicMarkableReference(AtomicMarkableReference<V> t)