public final class RedisUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isUnlinkAvailable(RedisOperations<?,?> redisOperations)
Deprecated.
since 5.1.8 in favor of explicit trials in the target code.
The INFO command might not be available on the server, but UNLINK might.
Will be removed in version 5.3.
|
@Deprecated 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.