Method
initializeByDomain
(String domain, int tcpPort, int httpPort, String... servers)
Source from the content-addressed store, hash-verified
| 236 | } |
| 237 | |
| 238 | public static void initializeByDomain(String domain, int tcpPort, int httpPort, String... servers) { |
| 239 | try { |
| 240 | ClientConfig config = new ClientConfigBuilder().build(domain, tcpPort, httpPort, servers); |
| 241 | |
| 242 | initialize(config); |
| 243 | } catch (Exception e) { |
| 244 | errorHandler(e); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | public static void initializeByDomain(String domain, String... servers) { |
| 249 | initializeByDomain(domain, 2280, 80, servers); |