You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2017/07/13 19:09:07 UTC

[jira] [Created] (GEODE-3201) Add ClientCacheFactory.addPoolLocator(String) and addPoolServer(String)

Swapnil Bawaskar created GEODE-3201:
---------------------------------------

             Summary: Add ClientCacheFactory.addPoolLocator(String) and addPoolServer(String)
                 Key: GEODE-3201
                 URL: https://issues.apache.org/jira/browse/GEODE-3201
             Project: Geode
          Issue Type: Improvement
          Components: configuration
            Reporter: Swapnil Bawaskar


Many times an application has a string representing the locator. The current method to add the locator is ClientCacheFactory.addPoolLocator(String host, int port).
We should not require the application developer to parse the string to separate the host from the port. This should work for both ipv4 and ipv6.
Some of the strings we should accept are:
example.com
example.com:80
192.0.2.1
192.0.2.1:80
[2001:db8::1]
[2001:db8::1]:80
2001:db8::1
 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)