Lenguaje

ScheduledThreadPoolExecutor Constructores

Definición

Sobrecargas

Nombre Description
ScheduledThreadPoolExecutor(Int32)

Crea un nuevo ScheduledThreadPoolExecutor con el tamaño de grupo de núcleos especificado.

ScheduledThreadPoolExecutor(Int32, IRejectedExecutionHandler)

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

ScheduledThreadPoolExecutor(Int32, IThreadFactory)

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

ScheduledThreadPoolExecutor(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

ScheduledThreadPoolExecutor(Int32, IThreadFactory, IRejectedExecutionHandler)

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

ScheduledThreadPoolExecutor(Int32)

Crea un nuevo ScheduledThreadPoolExecutor con el tamaño de grupo de núcleos especificado.

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

Parámetros

corePoolSize
Int32

el número de subprocesos que se mantendrán en el grupo, incluso si están inactivos, a menos allowCoreThreadTimeOut que se establezca.

Atributos

Excepciones

si corePoolSize

Comentarios

Crea un nuevo ScheduledThreadPoolExecutor con el tamaño de grupo de núcleos especificado.

Java documentación para java.util.concurrent.ScheduledThreadPoolExecutor.ScheduledThreadPoolExecutor(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

ScheduledThreadPoolExecutor(Int32, IRejectedExecutionHandler)

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

[Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/RejectedExecutionHandler;)V", "")]
public ScheduledThreadPoolExecutor(int corePoolSize, Java.Util.Concurrent.IRejectedExecutionHandler? handler);
[<Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/RejectedExecutionHandler;)V", "")>]
new Java.Util.Concurrent.ScheduledThreadPoolExecutor : int * Java.Util.Concurrent.IRejectedExecutionHandler -> Java.Util.Concurrent.ScheduledThreadPoolExecutor

Parámetros

corePoolSize
Int32

el número de subprocesos que se mantendrán en el grupo, incluso si están inactivos, a menos allowCoreThreadTimeOut que se establezca.

handler
IRejectedExecutionHandler

el controlador que se va a usar cuando se bloquea la ejecución porque se alcanzan los límites del subproceso y las capacidades de cola

Atributos

Excepciones

si corePoolSize

SI handler ES NULL

Comentarios

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

Java documentación para java.util.concurrent.ScheduledThreadPoolExecutor.ScheduledThreadPoolExecutor(int, java.util.concurrent.RejectedExecutionHandler).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

ScheduledThreadPoolExecutor(Int32, IThreadFactory)

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

[Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ThreadFactory;)V", "")]
public ScheduledThreadPoolExecutor(int corePoolSize, Java.Util.Concurrent.IThreadFactory? threadFactory);
[<Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ThreadFactory;)V", "")>]
new Java.Util.Concurrent.ScheduledThreadPoolExecutor : int * Java.Util.Concurrent.IThreadFactory -> Java.Util.Concurrent.ScheduledThreadPoolExecutor

Parámetros

corePoolSize
Int32

el número de subprocesos que se mantendrán en el grupo, incluso si están inactivos, a menos allowCoreThreadTimeOut que se establezca.

threadFactory
IThreadFactory

generador que se va a usar cuando el ejecutor crea un nuevo subproceso

Atributos

Excepciones

si corePoolSize

SI threadFactory ES NULL

Comentarios

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

Java documentación para java.util.concurrent.ScheduledThreadPoolExecutor.ScheduledThreadPoolExecutor(int, java.util.concurrent.ThreadFactory).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

ScheduledThreadPoolExecutor(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

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

Parámetros

javaReference
IntPtr

nativeint

que IntPtrcontiene una referencia de objeto Java Native Interface (JNI).

transfer
JniHandleOwnership

un JniHandleOwnershipvalor de tipo que indica cómo controlar javaReference

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

ScheduledThreadPoolExecutor(Int32, IThreadFactory, IRejectedExecutionHandler)

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

[Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V", "")]
public ScheduledThreadPoolExecutor(int corePoolSize, Java.Util.Concurrent.IThreadFactory? threadFactory, Java.Util.Concurrent.IRejectedExecutionHandler? handler);
[<Android.Runtime.Register(".ctor", "(ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V", "")>]
new Java.Util.Concurrent.ScheduledThreadPoolExecutor : int * Java.Util.Concurrent.IThreadFactory * Java.Util.Concurrent.IRejectedExecutionHandler -> Java.Util.Concurrent.ScheduledThreadPoolExecutor

Parámetros

corePoolSize
Int32

el número de subprocesos que se mantendrán en el grupo, incluso si están inactivos, a menos allowCoreThreadTimeOut que se establezca.

threadFactory
IThreadFactory

generador que se va a usar cuando el ejecutor crea un nuevo subproceso

handler
IRejectedExecutionHandler

el controlador que se va a usar cuando se bloquea la ejecución porque se alcanzan los límites del subproceso y las capacidades de cola

Atributos

Excepciones

si corePoolSize

si threadFactory o handler es null

Comentarios

Crea un nuevo ScheduledThreadPoolExecutor con los parámetros iniciales especificados.

Java documentación para java.util.concurrent.ScheduledThreadPoolExecutor.ScheduledThreadPoolExecutor(int, java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a