TraceScope ที่ปิดได้

public class CloseableTraceScope
extends Object

java.lang.Object
com.android.tradefed.inviver.tracing.CloseableTraceScope


คลาสที่กำหนดขอบเขตที่อนุญาตให้รายงานส่วนการติดตามผ่าน try-with-resources

สรุป

ผู้รับเหมาก่อสร้างสาธารณะ

CloseableTraceScope (String category, String name)

รายงานการติดตามที่กำหนดขอบเขต

CloseableTraceScope (String name)

ตัวสร้าง

CloseableTraceScope ( ActiveTrace trace, String name)
CloseableTraceScope ()

ตัวสร้างสำหรับขอบเขตการรายงานจากเธรด

วิธีการสาธารณะ

void close ()

ผู้รับเหมาก่อสร้างสาธารณะ

TraceScope ที่ปิดได้

public CloseableTraceScope (String category, 
                String name)

รายงานการติดตามที่กำหนดขอบเขต

พารามิเตอร์
category String : หมวดหมู่ของการดำเนินการ

name String : ชื่อของการรายงานส่วน

TraceScope ที่ปิดได้

public CloseableTraceScope (String name)

ตัวสร้าง

พารามิเตอร์
name String

TraceScope ที่ปิดได้

public CloseableTraceScope (ActiveTrace trace, 
                String name)

พารามิเตอร์
trace ActiveTrace

name String

TraceScope ที่ปิดได้

public CloseableTraceScope ()

ตัวสร้างสำหรับขอบเขตการรายงานจากเธรด

วิธีการสาธารณะ

ปิด

public void close ()