Introduce *scan with "string" cursor parameter to support unsigned long
cursor * overload all *scan method to change "int" cursor to "string" cursor * set @Deprecated and leave reason to deprecate and when to remove to current *scan method * modify unit tests to make it work with new *scan method
This commit is contained in:
@@ -12,6 +12,7 @@ import redis.clients.util.SafeEncoder;
|
||||
|
||||
public class ScanParams {
|
||||
private List<byte[]> params = new ArrayList<byte[]>();
|
||||
public final static String SCAN_POINTER_START = String.valueOf(0);
|
||||
|
||||
public void match(final String pattern) {
|
||||
params.add(MATCH.raw);
|
||||
|
||||
Reference in New Issue
Block a user