MonitorFuture.java 798 Bytes
package com.yoho.rfid.model;

import com.yoho.rfid.constant.BackWorkerType;

import java.util.concurrent.Future;

/**
 * Created by chenchao on 2017/11/3.
 */
public class MonitorFuture {
    private BackWorkerType backWorkerType;
    private Future future;

    public MonitorFuture(BackWorkerType backWorkerType, Future future) {
        this.backWorkerType = backWorkerType;
        this.future = future;
    }

    public BackWorkerType getBackWorkerType() {
        return backWorkerType;
    }

    public void setBackWorkerType(BackWorkerType backWorkerType) {
        this.backWorkerType = backWorkerType;
    }

    public Future getFuture() {
        return future;
    }

    public void setFuture(Future future) {
        this.future = future;
    }
}