TaskStatus.java
932 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package io.mycat.migrate;
import java.io.Serializable;
/**
* Created by nange on 2016/12/7.
*/
public class TaskStatus implements Serializable {
private int status; //0= dump error 1=dump sucess 2=increnment error 3=increment sucess 4=other error
private String msg;
private String binlogFile;
private long pos;
private String lastDate;
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public String getBinlogFile() {
return binlogFile;
}
public void setBinlogFile(String binlogFile) {
this.binlogFile = binlogFile;
}
public long getPos() {
return pos;
}
public void setPos(long pos) {
this.pos = pos;
}
}