Class StringToRedisClientInfoConverter
java.lang.Object
org.springframework.data.redis.connection.convert.StringToRedisClientInfoConverter
- All Implemented Interfaces:
Converter<String[],
List<RedisClientInfo>>
public class StringToRedisClientInfoConverter
extends Object
implements Converter<String[],List<RedisClientInfo>>
Converter
implementation to create one RedisClientInfo
per line entry in given String
array.
## sample of single line addr=127.0.0.1:60311 fd=6 name= age=4059 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=client
- Since:
- 1.3
- Author:
- Christoph Strobl
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StringToRedisClientInfoConverter
public StringToRedisClientInfoConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceConverter<String[],
List<RedisClientInfo>>
-