2026년부터 트렁크 안정 개발 모델과 일치하고 생태계의 플랫폼 안정성을 보장하기 위해 2분기와 4분기에 AOSP에 소스 코드를 게시합니다. AOSP를 빌드하고 기여하려면 android-latest-release를 사용하세요. android-latest-release 매니페스트 브랜치는 항상 AOSP에 푸시된 최신 버전을 참조합니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
TracePropagatingExecutorService
public
final
class
TracePropagatingExecutorService
extends Object
implements
ExecutorService
| java.lang.Object
|
| ↳ |
com.android.tradefed.invoker.tracing.TracePropagatingExecutorService
|
추적 컨텍스트를 전파하면서 기본 구현에 작업을 전달하는 실행기 서비스입니다.
이를 통해 제출된 작업에서 CloseableTraceScope와 같은 추적 기능을 사용할 수 있습니다.
요약
보호된 메서드 |
<T>
Collection<? extends Callable<T>>
|
wrapTasks(Collection<? extends Callable<T>> tasks)
|
공개 메서드
awaitTermination
public boolean awaitTermination (long timeout,
TimeUnit unit)
| 매개변수 |
timeout |
long |
unit |
TimeUnit |
| 생성 값 |
InterruptedException |
|
create
public static TracePropagatingExecutorService create (ExecutorService delegate)
지정된 위임 실행기에 위임하는 ExecutorService를 만듭니다.
작업에 전파되는 활성 추적은 실행기 메서드 호출 시 활성 상태인 추적입니다. 이는 TF가 호출을 시작하고 트레이스를 연결하기 전에 대부분의 객체를 구성하기 때문에 실행됩니다.
| 매개변수 |
delegate |
ExecutorService |
execute
public void execute (Runnable command)
invokeAll
public List<Future<T>> invokeAll (Collection<? extends Callable<T>> tasks)
| 생성 값 |
InterruptedException |
|
invokeAll
public List<Future<T>> invokeAll (Collection<? extends Callable<T>> tasks,
long timeout,
TimeUnit unit)
| 매개변수 |
tasks |
Collection |
timeout |
long |
unit |
TimeUnit |
| 생성 값 |
InterruptedException |
|
invokeAny
public T invokeAny (Collection<? extends Callable<T>> tasks)
| 생성 값 |
ExecutionException |
|
InterruptedException |
|
invokeAny
public T invokeAny (Collection<? extends Callable<T>> tasks,
long timeout,
TimeUnit unit)
| 매개변수 |
tasks |
Collection |
timeout |
long |
unit |
TimeUnit |
| 생성 값 |
ExecutionException |
|
InterruptedException |
|
TimeoutException |
|
isShutdown
public boolean isShutdown ()
isTerminated
public boolean isTerminated ()
shutdown
public void shutdown ()
shutdownNow
public List<Runnable> shutdownNow ()
제출
public Future<?> submit (Runnable task)
제출
public Future<T> submit (Callable<T> task)
제출
public Future<T> submit (Runnable task,
T result)
| 매개변수 |
task |
Runnable |
result |
T |
보호된 메서드
wrapTasks
protected Collection<? extends Callable<T>> wrapTasks (Collection<? extends Callable<T>> tasks)
| 반환 값 |
Collection<? extends Callable<T>> |
|
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2026-06-22(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-06-22(UTC)"],[],[]]