Sprache

ForkJoinPool Konstruktoren

Definition

Überlädt

Name Beschreibung
ForkJoinPool()

Erstellt einen ForkJoinPool mit Parallelität gleich java.lang.Runtime#availableProcessors, wobei Standardwerte für alle anderen Parameter verwendet werden (siehe #ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).

ForkJoinPool(Int32)

Erstellt eine ForkJoinPool mit der angegebenen Parallelitätsebene, wobei Standardwerte für alle anderen Parameter verwendet werden (siehe #ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).

ForkJoinPool(IntPtr, JniHandleOwnership)

Ein Konstruktor, der beim Erstellen verwalteter Darstellungen von JNI-Objekten verwendet wird; wird von der Laufzeit aufgerufen.

ForkJoinPool(Int32, ForkJoinPool+IForkJoinWorkerThreadFactory, Thread+IUncaughtExceptionHandler, Boolean)

Erstellt eine ForkJoinPool mit Parallelität gleich java.lang.Runtime#availableProcessors, wobei die #defaultForkJoinWorkerThreadFactory Standardthreadfactory, kein UncaughtExceptionHandler und nicht asynchroner LIFO-Verarbeitungsmodus verwendet wird.

ForkJoinPool(Int32, ForkJoinPool+IForkJoinWorkerThreadFactory, Thread+IUncaughtExceptionHandler, Boolean, Int32, Int32, Int32, IPredicate, Int64, TimeUnit)

ForkJoinPool()

Erstellt einen ForkJoinPool mit Parallelität gleich java.lang.Runtime#availableProcessors, wobei Standardwerte für alle anderen Parameter verwendet werden (siehe #ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).

[Android.Runtime.Register(".ctor", "()V", "")]
public ForkJoinPool();
Attribute

Hinweise

Erstellt einen ForkJoinPool mit Parallelität gleich java.lang.Runtime#availableProcessors, wobei Standardwerte für alle anderen Parameter verwendet werden (siehe #ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).

Java Dokumentation für java.util.concurrent.ForkJoinPool.ForkJoinPool().

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für:

ForkJoinPool(Int32)

Erstellt eine ForkJoinPool mit der angegebenen Parallelitätsebene, wobei Standardwerte für alle anderen Parameter verwendet werden (siehe #ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ForkJoinPool(int parallelism);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Util.Concurrent.ForkJoinPool : int -> Java.Util.Concurrent.ForkJoinPool

Parameter

parallelism
Int32

Parallelitätsebene

Attribute

Ausnahmen

wenn Parallelität kleiner oder gleich Null oder größer als implementierungsgrenzwert ist

Hinweise

Erstellt eine ForkJoinPool mit der angegebenen Parallelitätsebene, wobei Standardwerte für alle anderen Parameter verwendet werden (siehe #ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).

Java Dokumentation für java.util.concurrent.ForkJoinPool.ForkJoinPool(int).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für:

ForkJoinPool(IntPtr, JniHandleOwnership)

Ein Konstruktor, der beim Erstellen verwalteter Darstellungen von JNI-Objekten verwendet wird; wird von der Laufzeit aufgerufen.

protected ForkJoinPool(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.ForkJoinPool : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.ForkJoinPool

Parameter

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

Ein JniHandleOwnershipHinweis auf die Behandlung javaReference

Hinweise

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für:

ForkJoinPool(Int32, ForkJoinPool+IForkJoinWorkerThreadFactory, Thread+IUncaughtExceptionHandler, Boolean)

Erstellt eine ForkJoinPool mit Parallelität gleich java.lang.Runtime#availableProcessors, wobei die #defaultForkJoinWorkerThreadFactory Standardthreadfactory, kein UncaughtExceptionHandler und nicht asynchroner LIFO-Verarbeitungsmodus verwendet wird.

[Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;Z)V", "")]
public ForkJoinPool(int parallelism, Java.Util.Concurrent.ForkJoinPool.IForkJoinWorkerThreadFactory? factory, Java.Lang.Thread.IUncaughtExceptionHandler? handler, bool asyncMode);
[<Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;Z)V", "")>]
new Java.Util.Concurrent.ForkJoinPool : int * Java.Util.Concurrent.ForkJoinPool.IForkJoinWorkerThreadFactory * Java.Lang.Thread.IUncaughtExceptionHandler * bool -> Java.Util.Concurrent.ForkJoinPool

Parameter

parallelism
Int32
asyncMode
Boolean
Attribute

Ausnahmen

wenn Parallelität kleiner oder gleich Null oder größer als implementierungsgrenzwert ist

wenn die Factory null ist

Hinweise

Java Dokumentation für java.util.concurrent.ForkJoinPool.ForkJoinPool().

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für:

ForkJoinPool(Int32, ForkJoinPool+IForkJoinWorkerThreadFactory, Thread+IUncaughtExceptionHandler, Boolean, Int32, Int32, Int32, IPredicate, Int64, TimeUnit)

[Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;ZIIILjava/util/function/Predicate;JLjava/util/concurrent/TimeUnit;)V", "", ApiSince=33)]
public ForkJoinPool(int parallelism, Java.Util.Concurrent.ForkJoinPool.IForkJoinWorkerThreadFactory? factory, Java.Lang.Thread.IUncaughtExceptionHandler? handler, bool asyncMode, int corePoolSize, int maximumPoolSize, int minimumRunnable, Java.Util.Functions.IPredicate? saturate, long keepAliveTime, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;ZIIILjava/util/function/Predicate;JLjava/util/concurrent/TimeUnit;)V", "", ApiSince=33)>]
new Java.Util.Concurrent.ForkJoinPool : int * Java.Util.Concurrent.ForkJoinPool.IForkJoinWorkerThreadFactory * Java.Lang.Thread.IUncaughtExceptionHandler * bool * int * int * int * Java.Util.Functions.IPredicate * int64 * Java.Util.Concurrent.TimeUnit -> Java.Util.Concurrent.ForkJoinPool

Parameter

parallelism
Int32
asyncMode
Boolean
corePoolSize
Int32
maximumPoolSize
Int32
minimumRunnable
Int32
saturate
IPredicate
keepAliveTime
Int64
unit
TimeUnit
Attribute

Gilt für: