public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static ConcurrentMap<Short,List<Connection>> |
buildClusterConnection(List<ClusterNodes> clusterNodesList,
TCPClientFactory.ClientType clientType) |
static List<Connection> |
buildConnections(String[] urls,
TCPClientFactory.ClientType clientType) |
static String |
getConnectionListStr(Map<Short,List<Connection>> clusterConnections) |
public static ConcurrentMap<Short,List<Connection>> buildClusterConnection(List<ClusterNodes> clusterNodesList, TCPClientFactory.ClientType clientType)
public static List<Connection> buildConnections(String[] urls, TCPClientFactory.ClientType clientType)
public static String getConnectionListStr(Map<Short,List<Connection>> clusterConnections)
Copyright © 2016. All rights reserved.