public class ThriftConsulServerNodeList extends ThriftServerNodeList<ThriftConsulServerNode>
serverNodeMap| 限定符和类型 | 方法和说明 |
|---|---|
List<ThriftConsulServerNode> |
getThriftServer(String serviceName) |
Map<String,LinkedHashSet<ThriftConsulServerNode>> |
getThriftServers() |
List<ThriftConsulServerNode> |
refreshThriftServer(String serviceName) |
Map<String,LinkedHashSet<ThriftConsulServerNode>> |
refreshThriftServers() |
static ThriftConsulServerNodeList |
singleton(com.orbitz.consul.Consul consul) |
getInitialListOfThriftServers, getServerNodeMap, getUpdatedListOfThriftServerspublic static ThriftConsulServerNodeList singleton(com.orbitz.consul.Consul consul)
public List<ThriftConsulServerNode> getThriftServer(String serviceName)
public List<ThriftConsulServerNode> refreshThriftServer(String serviceName)
public Map<String,LinkedHashSet<ThriftConsulServerNode>> getThriftServers()
public Map<String,LinkedHashSet<ThriftConsulServerNode>> refreshThriftServers()
Copyright © 2021. All rights reserved.