ca4e3e24
tu
first commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**@author Sherlock_yb
* Created time:2014年12月2日
*/
package nlp.whu.model;
import java.util.concurrent.atomic.AtomicLong;
/**@description:
*/
public abstract class TaskWrapper {
private static final AtomicLong baseCount = new AtomicLong(0L);
private final long taskId = baseCount.getAndIncrement();
//分析耗时统计:起止时间
private long startTime;
private long endTime;
public long getStartTime() {
return startTime;
}
public void setStartTime(long startTime) {
this.startTime = startTime;
}
public long getEndTime() {
return endTime;
}
public void setEndTime(long endTime) {
this.endTime = endTime;
}
public long getTaskId() {
return taskId;
}
}
|