1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package cn.flightfeather.supervision.datafetch
|
| import java.util.concurrent.ExecutorService
| import java.util.concurrent.Executors
|
| /**
| * 数据获取
| */
| abstract class FetchData {
|
| companion object {
| var threadPoo: ExecutorService? = Executors.newCachedThreadPool()
| }
|
| abstract fun fetch()
| }
|
|