RKeys.findKeysByPattern and findKeysByPatternAsync methods are deprecated now.

pull/1461/head
Nikita 7 years ago
parent cc29a54eaa
commit f6898656e7

@ -198,17 +198,10 @@ public interface RKeys extends RKeysAsync {
*/
String randomKey();
/**
* Find keys by key search pattern at once using KEYS command.
*
* Supported glob-style patterns:
* h?llo subscribes to hello, hallo and hxllo
* h*llo subscribes to hllo and heeeello
* h[ae]llo subscribes to hello and hallo, but not hillo
*
* @param pattern - match pattern
* @return collection of keys
/*
* Use getKeysByPattern method instead
*/
@Deprecated
Collection<String> findKeysByPattern(String pattern);
/**

@ -158,17 +158,10 @@ public interface RKeysAsync {
*/
RFuture<String> randomKeyAsync();
/**
* Find keys by key search pattern in async mode
*
* Supported glob-style patterns:
* h?llo subscribes to hello, hallo and hxllo
* h*llo subscribes to hllo and heeeello
* h[ae]llo subscribes to hello and hallo, but not hillo
*
* @param pattern - match pattern
* @return collections of keys
/*
* Use getKeysByPattern method instead
*/
@Deprecated
RFuture<Collection<String>> findKeysByPatternAsync(String pattern);
/**

Loading…
Cancel
Save