public static class ThreadCopyFile.Config extends Object
| 构造器和说明 |
|---|
Config() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getThreadName() |
boolean |
isSync() |
void |
monitor_breakPoint(String threadName,
int threadNum,
Long[] Pointer)
记录断点 事件
|
void |
monitor_end(long statTime,
long endTime,
long fileLength,
String threadName)
结束事件
|
void |
monitor_ing(long statTime,
long fileLength,
long completed,
double progress,
double speed)
进行中事件
|
void |
setSync(boolean sync) |
void |
setThreadName(String threadName) |
public boolean isSync()
public void setSync(boolean sync)
public String getThreadName()
public void setThreadName(String threadName)
public void monitor_end(long statTime,
long endTime,
long fileLength,
String threadName)
statTime - 开始时间endTime - 结束时间fileLength - 文件长度threadName - 线程名public void monitor_breakPoint(String threadName, int threadNum, Long[] Pointer)
threadName - 线程名threadNum - 线程数Pointer - 断点位置public void monitor_ing(long statTime,
long fileLength,
long completed,
double progress,
double speed)
statTime - 开始时间fileLength - 文件长度completed - 已经完成长度progress - 进度%speed - 速度 KB/sCopyright © 2020. All rights reserved.