Table of Contents

Class CountedCompleter<T>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class CountedCompleter<T> : ForkJoinTask<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

T
Inheritance
JVMBridgeBase
JVMBridgeBase<ForkJoinTask<T>>
CountedCompleter<T>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ForkJoinTask<T>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ForkJoinTask<T>>.IsAssignableFrom<T>()
JVMBridgeBase<ForkJoinTask<T>>.Execute<T>(params T[])
JVMBridgeBase<ForkJoinTask<T>>.DynBridgeClazz
JVMBridgeBase<ForkJoinTask<T>>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

CountedCompleter()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("CountedCompleter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CountedCompleter()

CountedCompleter(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("CountedCompleter class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CountedCompleter(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Completer

public CountedCompleter<object> Completer { get; }

Property Value

CountedCompleter<object>

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

PendingCount

public int PendingCount { get; set; }

Property Value

int

Root

public CountedCompleter<object> Root { get; }

Property Value

CountedCompleter<object>

Methods

AddToPendingCount(int)

public void AddToPendingCount(int arg0)

Parameters

arg0 int

int

CompareAndSetPendingCount(int, int)

public bool CompareAndSetPendingCount(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

Compute()

public void Compute()

DecrementPendingCountUnlessZero()

public int DecrementPendingCountUnlessZero()

Returns

int

int

FirstComplete()

public CountedCompleter<object> FirstComplete()

Returns

CountedCompleter<object>

CountedCompleter

HelpComplete(int)

public void HelpComplete(int arg0)

Parameters

arg0 int

int

NextComplete()

public CountedCompleter<object> NextComplete()

Returns

CountedCompleter<object>

CountedCompleter

OnCompletion(CountedCompleter<object>)

public void OnCompletion(CountedCompleter<object> arg0)

Parameters

arg0 CountedCompleter<object>

CountedCompleter

OnExceptionalCompletion(JVMBridgeException, CountedCompleter<object>)

public bool OnExceptionalCompletion(JVMBridgeException arg0, CountedCompleter<object> arg1)

Parameters

arg0 JVMBridgeException

Throwable

arg1 CountedCompleter<object>

CountedCompleter

Returns

bool

bool

PropagateCompletion()

public void PropagateCompletion()

QuietlyCompleteRoot()

public void QuietlyCompleteRoot()

TryComplete()

public void TryComplete()

Operators

implicit operator CountedCompleter(CountedCompleter<T>)

public static implicit operator CountedCompleter(CountedCompleter<T> t)

Parameters

t CountedCompleter<T>

Returns

CountedCompleter