@Override public void connect() throws IOException {
  ClientCacheFactory factory=new ClientCacheFactory();
  Map<String,String> locators=parseLocatorString(geodeLocators);
  if (locators.size() == 0) {
    throw new IllegalArgumentException("Invalid locator connection string " + geodeLocators);
  }
 else {
    for (    Entry<String,String> entry : locators.entrySet()) {
      factory.addPoolLocator(entry.getKey(),Integer.valueOf(entry.getValue()));
    }
  }
  clientCache=factory.create();
}

@ Override public void connect ( ) throws IOException { ClientCacheFactory factory = new ClientCacheFactory ( ) ; Map < String , String > locators = parseLocatorString ( geodeLocators ) ; if ( locators . size ( ) == 0 ) { throw new IllegalArgumentException ( "Invalid locator connection string " + geodeLocators ) ; } else { for ( Entry < String , String > entry : locators . entrySet ( ) ) { factory . addPoolLocator ( entry . getKey ( ) , Integer . valueOf ( entry . getValue ( ) ) ) ; } } clientCache = factory . create ( ) ; }
connect the geode store by initializing geode client cache
