guoshilong
2024-03-12 b7c3fc85eba070a5c6625bc680ae9993d5553fae
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
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;
    }
}