Skip to content

Commit

Permalink
add redis
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjingchuan authored and yongjingchuan committed Sep 8, 2020
1 parent 741ef14 commit 0962837
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,17 @@
// return null;
// }
//
// /**
// * @param key
// * @param pattern
// * @param count
// * @return
// */
///**
// * @param key
// * @param pattern
// * @param count
// * @return
// */
//public List<String> hscan(String key, String pattern, int count) {
// String cursor = STR_CURSOR;
// List<String> keys = new ArrayList<>();
// while (true) {
// try {
// while (true) {
// ScanResult<Map.Entry<String, String>> scanResult =
// redis.hscan(key, cursor, new ScanParams().match(pattern).count(count));
// cursor = scanResult.getCursor();
Expand All @@ -203,9 +203,10 @@
// if (cursor.equals(STR_CURSOR)) {
// break;
// }
// }
// } catch (Exception e) {
// LOGGER.error("hscan 出错", e);
// }
// return null;
// }
// return keys;
// }
Expand Down

0 comments on commit 0962837

Please sign in to comment.