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
Modifier and Type | Field and Description |
---|---|
static StringToRedisClientInfoConverter |
INSTANCE |
Constructor and Description |
---|
StringToRedisClientInfoConverter() |
public static final StringToRedisClientInfoConverter INSTANCE
public List<RedisClientInfo> convert(String[] lines)
convert
in interface Converter<String[],List<RedisClientInfo>>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.