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(); String randomKey();
/** /*
* Find keys by key search pattern at once using KEYS command. * Use getKeysByPattern method instead
*
* 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
*/ */
@Deprecated
Collection<String> findKeysByPattern(String pattern); Collection<String> findKeysByPattern(String pattern);
/** /**

@ -158,17 +158,10 @@ public interface RKeysAsync {
*/ */
RFuture<String> randomKeyAsync(); RFuture<String> randomKeyAsync();
/** /*
* Find keys by key search pattern in async mode * Use getKeysByPattern method instead
*
* 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
*/ */
@Deprecated
RFuture<Collection<String>> findKeysByPatternAsync(String pattern); RFuture<Collection<String>> findKeysByPatternAsync(String pattern);
/** /**

Loading…
Cancel
Save