Class CountedCompleter
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class CountedCompleter : ForkJoinTask, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ForkJoinTask>CountedCompleter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ForkJoinTask>.IsAssignableFrom(IJavaType)JVMBridgeBase<ForkJoinTask>.IsAssignableFrom<T>()JVMBridgeBase<ForkJoinTask>.Execute<T>(params T[])JVMBridgeBase<ForkJoinTask>.DynBridgeClazzJVMBridgeBase<ForkJoinTask>.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 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 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 FirstComplete()
Returns
HelpComplete(int)
public void HelpComplete(int arg0)
Parameters
NextComplete()
public CountedCompleter NextComplete()
Returns
OnCompletion(CountedCompleter)
public void OnCompletion(CountedCompleter arg0)
Parameters
OnExceptionalCompletion(JVMBridgeException, CountedCompleter)
public bool OnExceptionalCompletion(JVMBridgeException arg0, CountedCompleter arg1)
Parameters
arg0
JVMBridgeExceptionarg1
CountedCompleter
Returns
PropagateCompletion()
public void PropagateCompletion()
QuietlyCompleteRoot()
public void QuietlyCompleteRoot()
TryComplete()
public void TryComplete()