Uses of Class
java.util.concurrent.CountedCompleter
Packages that use CountedCompleter
-
Uses of CountedCompleter in java.util.concurrent
Methods in java.util.concurrent that return CountedCompleterModifier and TypeMethodDescriptionfinal CountedCompleter<?> CountedCompleter.firstComplete()If this task's pending count is zero, returns this task; otherwise decrements its pending count and returnsnull.final CountedCompleter<?> CountedCompleter.getCompleter()Returns the completer established in this task's constructor, ornullif none.final CountedCompleter<?> CountedCompleter.getRoot()Returns the root of the current computation; i.e., this task if it has no completer, else its completer's root.final CountedCompleter<?> CountedCompleter.nextComplete()If this task does not have a completer, invokesForkJoinTask.quietlyComplete()and returnsnull.Methods in java.util.concurrent with parameters of type CountedCompleterModifier and TypeMethodDescriptionvoidCountedCompleter.onCompletion(CountedCompleter<?> caller) Performs an action when methodtryComplete()is invoked and the pending count is zero, or when the unconditional methodcomplete(T)is invoked.booleanCountedCompleter.onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller) Performs an action when methodForkJoinTask.completeExceptionally(Throwable)is invoked or methodcompute()throws an exception, and this task has not already otherwise completed normally.Constructors in java.util.concurrent with parameters of type CountedCompleterModifierConstructorDescriptionprotectedCountedCompleter(CountedCompleter<?> completer) Creates a new CountedCompleter with the given completer and an initial pending count of zero.protectedCountedCompleter(CountedCompleter<?> completer, int initialPendingCount) Creates a new CountedCompleter with the given completer and initial pending count.