CloseableTraceScope
public
class
CloseableTraceScope
extends Object
implements
AutoCloseable
| 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 ()