CloseableTraceScope
public
class
CloseableTraceScope
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.invoker.tracing.CloseableTraceScope |
try-with-resources를 통해 추적 섹션을 보고할 수 있는 범위 지정 클래스
요약
공개 생성자 | |
|---|---|
CloseableTraceScope()
대화목록에서 보고 범위를 위한 생성자입니다. |
|
CloseableTraceScope(ActiveTrace trace, String name)
|
|
CloseableTraceScope(String name)
생성자입니다. |
|
CloseableTraceScope(String category, String name)
범위 지정된 트레이스를 보고합니다. |
|
공개 메서드 | |
|---|---|
void
|
close()
|
공개 생성자
CloseableTraceScope
public CloseableTraceScope ()
대화목록에서 보고 범위를 위한 생성자입니다.
CloseableTraceScope
public CloseableTraceScope (ActiveTrace trace, String name)
| 매개변수 | |
|---|---|
trace |
ActiveTrace |
name |
String |
CloseableTraceScope
public CloseableTraceScope (String name)
생성자입니다.
| 매개변수 | |
|---|---|
name |
String |
CloseableTraceScope
public CloseableTraceScope (String category,
String name)범위 지정된 트레이스를 보고합니다.
| 매개변수 | |
|---|---|
category |
String: 작업의 카테고리 |
name |
String: 섹션 보고의 이름 |
공개 메서드
닫기
public void close ()