package cn.gistack.job.executor.thread;
|
|
import cn.gistack.nky.fegin.INkyClient;
|
import lombok.Data;
|
|
@Data
|
public class MyThread extends Thread{
|
|
private INkyClient nkyClient;
|
private String type;
|
|
|
@Override
|
public void run() {
|
nkyClient.hstPredictData(this.type);
|
}
|
|
public MyThread(INkyClient nkyClient, String type) {
|
this.nkyClient = nkyClient;
|
this.type = type;
|
}
|
|
public MyThread(String type) {
|
this.type = type;
|
}
|
}
|