public final class RedisUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isUnlinkAvailable(RedisOperations<?,?> redisOperations)
Perform an
INFO command on the provided RedisOperations to check
the Redis server version to be sure that UNLINK is available or not. |
public static boolean isUnlinkAvailable(RedisOperations<?,?> redisOperations)
INFO command on the provided RedisOperations to check
the Redis server version to be sure that UNLINK is available or not.redisOperations - the RedisOperations to perform INFO command.UNLINK Redis command is available or not.IllegalStateException - when INFO returns null from the Redis.