资产展示{KLTV}的代码
parent
c79777ef32
commit
b2ab146577
|
@ -230,38 +230,6 @@ public class DataSourceServiceImpl extends ServiceImpl<DataSourceMapper, DataSou
|
|||
conn.close();
|
||||
mysqlPool.closeConn();
|
||||
}
|
||||
// else if (etlDataScore.getType().equals(REDIS)) {
|
||||
// RedisPool redisPool = new RedisPool(etlDataScore);
|
||||
// redisPool.init();
|
||||
// Jedis jedis = redisPool.getConn();
|
||||
//
|
||||
// String cursor = ScanParams.SCAN_POINTER_START;
|
||||
// ScanParams scanParams = new ScanParams().count(100);
|
||||
//
|
||||
// HashMap<String, String> map = new HashMap<>();
|
||||
//
|
||||
//
|
||||
// while (true) {
|
||||
// ScanResult<String> scanResult = jedis.scan(cursor, scanParams);
|
||||
// List<String> keys = scanResult.getResult();
|
||||
// for (String key : keys) {
|
||||
// String value = jedis.get(key);
|
||||
// if (value != null) {
|
||||
// map.put(key, value);
|
||||
// }
|
||||
// }
|
||||
// cursor = scanResult.getCursor();
|
||||
// if (cursor.equals(ScanParams.SCAN_POINTER_START)) {
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// System.out.println(map);
|
||||
//
|
||||
// redisPool.replease(jedis);
|
||||
// redisPool.closeConn();
|
||||
//
|
||||
//
|
||||
// }
|
||||
} catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue