Package redis.clients.jedis.util
Class JedisClusterHashTag
java.lang.Object
redis.clients.jedis.util.JedisClusterHashTag
Holds various methods/utilities to manipulate and parse redis hash-tags. See Cluster-Spec : Keys hash tags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringextractHashTag(String key, boolean returnKeyOnAbsence) static StringgetHashTag(String key) static booleanisClusterCompliantMatchPattern(byte[] matchPattern) static booleanisClusterCompliantMatchPattern(String matchPattern)
-
Constructor Details
-
JedisClusterHashTag
private JedisClusterHashTag()
-
-
Method Details
-
getHashTag
-
isClusterCompliantMatchPattern
public static boolean isClusterCompliantMatchPattern(byte[] matchPattern) -
isClusterCompliantMatchPattern
-
extractHashTag
-