AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
| Public 成员函数 | 静态 Public 属性 | Protected 成员函数 | Private 成员函数 | Private 属性 | 静态 Private 属性 | 所有成员列表
com.ab.network.toolbox.VolleyLog.MarkerLog类 参考

class  Marker
 

Public 成员函数

synchronized void add (String name, long threadId)
 
synchronized void finish (String header)
 

静态 Public 属性

static final boolean ENABLED = VolleyLog.DEBUG
 

Protected 成员函数

void finalize () throws Throwable
 

Private 成员函数

long getTotalDuration ()
 

Private 属性

final List< MarkermMarkers = new ArrayList<Marker>()
 
boolean mFinished = false
 

静态 Private 属性

static final long MIN_DURATION_FOR_LOGGING_MS = 0
 

详细描述

A simple event log with records containing a name, thread ID, and timestamp.

成员函数说明

synchronized void com.ab.network.toolbox.VolleyLog.MarkerLog.add ( String  name,
long  threadId 
)
inline

Adds a marker to this log with the specified name.

void com.ab.network.toolbox.VolleyLog.MarkerLog.finalize ( ) throws Throwable
inlineprotected
synchronized void com.ab.network.toolbox.VolleyLog.MarkerLog.finish ( String  header)
inline

Closes the log, dumping it to logcat if the time difference between the first and last markers is greater than MIN_DURATION_FOR_LOGGING_MS.

参数
headerHeader string to print above the marker log.
long com.ab.network.toolbox.VolleyLog.MarkerLog.getTotalDuration ( )
inlineprivate

Returns the time difference between the first and last events in this log.

类成员变量说明

final boolean com.ab.network.toolbox.VolleyLog.MarkerLog.ENABLED = VolleyLog.DEBUG
static
boolean com.ab.network.toolbox.VolleyLog.MarkerLog.mFinished = false
private
final long com.ab.network.toolbox.VolleyLog.MarkerLog.MIN_DURATION_FOR_LOGGING_MS = 0
staticprivate

Minimum duration from first marker to last in an marker log to warrant logging.

final List<Marker> com.ab.network.toolbox.VolleyLog.MarkerLog.mMarkers = new ArrayList<Marker>()
private

该类的文档由以下文件生成: