public List <RedisHostMasterInfo> Any(GetActiveHosts req) { return(Redis.GetAll <RedisHostMasterInfo>(Redis.GetKeysByPattern("{0}:host:*".Fmt(HostContext.GetPlugin <RedisServiceDiscoveryFeature>().RedisPrefix))).Values.ToList()); }
public List <RedisHostMasterInfo> Any(GetActiveHosts req) { return(Redis.GetAll <RedisHostMasterInfo>(Redis.GetKeysByPattern(GetActiveHostsFormatString.Fmt(RedisPrefix))).Values.ToList()); }