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
-
JVMBridgeBaseJVMBridgeBase<ForkJoinTask<T>>ForkJoinTask<T>CountedCompleter<T>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ForkJoinTask<T>>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])JVMBridgeBase<ForkJoinTask<T>>.IsAssignableFrom(IJavaType)JVMBridgeBase<ForkJoinTask<T>>.IsAssignableFrom<T>()JVMBridgeBase<ForkJoinTask<T>>.Execute<T>(params T[])JVMBridgeBase<ForkJoinTask<T>>.DynBridgeClazzJVMBridgeBase<ForkJoinTask<T>>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Completer
public CountedCompleter<object> Completer { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
PendingCount
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CountedCompleter.html#getPendingCount() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CountedCompleter.html#setPendingCount(int)
public int PendingCount { get; set; }
Property Value
Root
public CountedCompleter<object> Root { get; }
Property Value
Methods
AddToPendingCount(int)
public void AddToPendingCount(int arg0)
Parameters
CompareAndSetPendingCount(int, int)
public bool CompareAndSetPendingCount(int arg0, int arg1)
Parameters
Returns
Compute()
public void Compute()
DecrementPendingCountUnlessZero()
public int DecrementPendingCountUnlessZero()
Returns
FirstComplete()
public CountedCompleter<object> FirstComplete()
Returns
HelpComplete(int)
public void HelpComplete(int arg0)
Parameters
NextComplete()
public CountedCompleter<object> NextComplete()
Returns
OnCompletion(CountedCompleter<object>)
public void OnCompletion(CountedCompleter<object> arg0)
Parameters
OnExceptionalCompletion(JVMBridgeException, CountedCompleter<object>)
public bool OnExceptionalCompletion(JVMBridgeException arg0, CountedCompleter<object> arg1)
Parameters
arg0
JVMBridgeExceptionarg1
CountedCompleter<object>
Returns
PropagateCompletion()
public void PropagateCompletion()
QuietlyCompleteRoot()
public void QuietlyCompleteRoot()
TryComplete()
public void TryComplete()
Operators
implicit operator CountedCompleter(CountedCompleter<T>)
Converter from CountedCompleter<T> to CountedCompleter
public static implicit operator CountedCompleter(CountedCompleter<T> t)
Parameters
t
CountedCompleter<T>