TaskStatus.java 932 Bytes
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;
    }
}