ScheduledThreadPoolExecutor 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| ScheduledThreadPoolExecutor(Int32) |
지정된 코어 풀 크기를 사용하여 새 |
| ScheduledThreadPoolExecutor(Int32, IRejectedExecutionHandler) |
지정된 초기 매개 변수를 사용하여 새 |
| ScheduledThreadPoolExecutor(Int32, IThreadFactory) |
지정된 초기 매개 변수를 사용하여 새 |
| ScheduledThreadPoolExecutor(IntPtr, JniHandleOwnership) |
JNI 개체의 관리되는 표현을 만들 때 사용되는 생성자입니다. 런타임에서 호출합니다. |
| ScheduledThreadPoolExecutor(Int32, IThreadFactory, IRejectedExecutionHandler) |
지정된 초기 매개 변수를 사용하여 새 |
ScheduledThreadPoolExecutor(Int32)
지정된 코어 풀 크기를 사용하여 새 ScheduledThreadPoolExecutor 풀을 만듭니다.
[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
매개 변수
- corePoolSize
- Int32
설정되지 않은 경우 allowCoreThreadTimeOut 유휴 상태인 경우에도 풀에 유지할 스레드 수
- 특성
예외
corePoolSize 의 경우
설명
지정된 코어 풀 크기를 사용하여 새 ScheduledThreadPoolExecutor 풀을 만듭니다.
에 대한 java.util.concurrent.ScheduledThreadPoolExecutor.ScheduledThreadPoolExecutor(int)Java 설명서
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
적용 대상
ScheduledThreadPoolExecutor(Int32, IRejectedExecutionHandler)
지정된 초기 매개 변수를 사용하여 새 ScheduledThreadPoolExecutor 매개 변수를 만듭니다.
[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
매개 변수
- corePoolSize
- Int32
설정되지 않은 경우 allowCoreThreadTimeOut 유휴 상태인 경우에도 풀에 유지할 스레드 수
- handler
- IRejectedExecutionHandler
스레드 경계 및 큐 용량에 도달하여 실행이 차단될 때 사용할 처리기
- 특성
예외
corePoolSize 의 경우
null이면 handler
설명
지정된 초기 매개 변수를 사용하여 새 ScheduledThreadPoolExecutor 매개 변수를 만듭니다.
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
적용 대상
ScheduledThreadPoolExecutor(Int32, IThreadFactory)
지정된 초기 매개 변수를 사용하여 새 ScheduledThreadPoolExecutor 매개 변수를 만듭니다.
[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
매개 변수
- corePoolSize
- Int32
설정되지 않은 경우 allowCoreThreadTimeOut 유휴 상태인 경우에도 풀에 유지할 스레드 수
- threadFactory
- IThreadFactory
실행기가 새 스레드를 만들 때 사용할 팩터리
- 특성
예외
corePoolSize 의 경우
null이면 threadFactory
설명
지정된 초기 매개 변수를 사용하여 새 ScheduledThreadPoolExecutor 매개 변수를 만듭니다.
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
적용 대상
ScheduledThreadPoolExecutor(IntPtr, JniHandleOwnership)
JNI 개체의 관리되는 표현을 만들 때 사용되는 생성자입니다. 런타임에서 호출합니다.
protected ScheduledThreadPoolExecutor(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.ScheduledThreadPoolExecutor : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.ScheduledThreadPoolExecutor
매개 변수
- transfer
- JniHandleOwnership
JniHandleOwnership처리 방법을 나타내는 AjavaReference
설명
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
적용 대상
ScheduledThreadPoolExecutor(Int32, IThreadFactory, IRejectedExecutionHandler)
지정된 초기 매개 변수를 사용하여 새 ScheduledThreadPoolExecutor 매개 변수를 만듭니다.
[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
매개 변수
- corePoolSize
- Int32
설정되지 않은 경우 allowCoreThreadTimeOut 유휴 상태인 경우에도 풀에 유지할 스레드 수
- threadFactory
- IThreadFactory
실행기가 새 스레드를 만들 때 사용할 팩터리
- handler
- IRejectedExecutionHandler
스레드 경계 및 큐 용량에 도달하여 실행이 차단될 때 사용할 처리기
- 특성
예외
corePoolSize 의 경우
null이거나 handler null인 경우 threadFactory
설명
지정된 초기 매개 변수를 사용하여 새 ScheduledThreadPoolExecutor 매개 변수를 만듭니다.
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.