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 ()