JavaTM Platform
Standard Ed. 6

인터페이스
java.util.concurrent.ExecutorService 의 사용

ExecutorService 를 사용하고 있는 패키지
java.util.concurrent 병행 프로그래밍으로 자주(잘) 사용되는 유틸리티 클래스입니다.  
 

java.util.concurrent 에서의 ExecutorService 의 사용
 

java.util.concurrent 에서의 ExecutorService 의 서브 인터페이스
 interface ScheduledExecutorService
          지정된 지연 시간 후 또는 정기적으로 커멘드를 실행하도록(듯이) 스케줄 할 수 있는 ExecutorService 입니다.
 

ExecutorService 를 구현하고 있는 java.util.concurrent 의 클래스
 class AbstractExecutorService
          ExecutorService 실행 메소드의 디폴트 구현을 제공합니다.
 class ScheduledThreadPoolExecutor
          지정된 지연 시간 후 또는 정기적으로 커멘드를 실행하도록(듯이) 추가로 스케줄 할 수 있는 ThreadPoolExecutor 입니다.
 class ThreadPoolExecutor
          풀 된 복수의 thread의 1 개를 사용해 송신된 각 태스크를 실행하는 ExecutorService 입니다.
 

ExecutorService 를 돌려주는 java.util.concurrent 의 메소드
static ExecutorService Executors. newCachedThreadPool ()
          필요하게 응해 신규 thread를 작성하는 thread 풀을 작성합니다만, 이용 가능한 경우에는 이전에 구축된 thread를 재사용합니다.
static ExecutorService Executors. newCachedThreadPool (ThreadFactory  threadFactory)
          필요하게 응해 신규 thread를 작성하는 thread 풀을 작성합니다만, 이용 가능한 경우에는 이전에 구축된 thread를 재사용합니다.
static ExecutorService Executors. newFixedThreadPool (int nThreads)
          공유 안 바운드 형식의 큐없이 동작하는, 고정수의 thread를 재사용하는 thread 풀을 작성합니다.
static ExecutorService Executors. newFixedThreadPool (int nThreads, ThreadFactory  threadFactory)
          공유 안 바운드 형식의 큐없이 동작하는, 고정수의 thread를 재사용하는 thread 풀을 작성합니다.
static ExecutorService Executors. newSingleThreadExecutor ()
          안 바운드 형식의 큐없이 동작하는, 단일의 워커 thread를 사용하는 executor 를 작성합니다.
static ExecutorService Executors. newSingleThreadExecutor (ThreadFactory  threadFactory)
          안 바운드 형식의 큐없이 동작하는, 단일의 워커 thread를 사용하는 executor 를 작성합니다.
static ExecutorService Executors. unconfigurableExecutorService (ExecutorService  executor)
          정의 끝난 모든 ExecutorService 메소드가 지정된 executor 에 위양 하지만, 캐스트를 사용해 액세스 가능한 다른 메소드는 위양 하지 않는 객체를 돌려줍니다.
 

ExecutorService 형의 파라미터를 가지는 java.util.concurrent 의 메소드
static ExecutorService Executors. unconfigurableExecutorService (ExecutorService  executor)
          정의 끝난 모든 ExecutorService 메소드가 지정된 executor 에 위양 하지만, 캐스트를 사용해 액세스 가능한 다른 메소드는 위양 하지 않는 객체를 돌려줍니다.
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.