Class RedisClientLibraryInfo
java.lang.Object
org.springframework.data.redis.util.RedisClientLibraryInfo
Utility class for building Spring Data Redis client library identification
strings for Redis CLIENT SETINFO.
- Since:
- 4.1
- Author:
- Viktoriya Kutsarova
- See Also:
-
Field Details
-
FRAMEWORK_NAME
Spring Data Redis framework name constant for CLIENT SETINFO.- See Also:
-
-
Method Details
-
getVersion
Get the Spring Data Redis version from the package manifest.- Returns:
- the Spring Data Redis version, or "unknown" if the version cannot be determined (e.g. when running from an IDE or tests without a populated Implementation-Version).
-