CloseableTraceScope

public class CloseableTraceScope
extends Object

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


try-with-resources を介してトレース セクションをレポートできるスコープ クラス

概要

パブリック コンストラクター

CloseableTraceScope (String category, String name)

範囲指定されたトレースを報告します。

CloseableTraceScope (String name)

コンストラクタ。

CloseableTraceScope ()

スレッドからスコープを報告するためのコンストラクター。

公開メソッド

void close ()

パブリック コンストラクター

CloseableTraceScope

public CloseableTraceScope (String category, 
                String name)

範囲指定されたトレースを報告します。

パラメーター
category String : 操作のカテゴリ

name String : セクションを報告するための名前

CloseableTraceScope

public CloseableTraceScope (String name)

コンストラクタ。

パラメーター
name String

CloseableTraceScope

public CloseableTraceScope ()

スレッドからスコープを報告するためのコンストラクター。

公開メソッド

近い

public void close ()