Share via


ForkJoinPool.PollSubmission Method

Definition

Removes and returns the next unexecuted submission if one is available.

[Android.Runtime.Register("pollSubmission", "()Ljava/util/concurrent/ForkJoinTask;", "GetPollSubmissionHandler")]
protected virtual Java.Util.Concurrent.ForkJoinTask? PollSubmission ();
[<Android.Runtime.Register("pollSubmission", "()Ljava/util/concurrent/ForkJoinTask;", "GetPollSubmissionHandler")>]
abstract member PollSubmission : unit -> Java.Util.Concurrent.ForkJoinTask
override this.PollSubmission : unit -> Java.Util.Concurrent.ForkJoinTask

Returns

the next submission, or null if none

Attributes

Remarks

Removes and returns the next unexecuted submission if one is available. This method may be useful in extensions to this class that re-assign work in systems with multiple pools.

Java documentation for java.util.concurrent.ForkJoinPool.pollSubmission().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to