public void constructPoolLocator(ClientCacheFactory factory)
	{
		
		List<URI> list = this.getLocatorUrlList();
		if(list != null && !list.isEmpty())
		{
			for (URI uri : list)
			{
				factory.addPoolLocator(uri.getHost(), uri.getPort());
			}
		}
		else
		{
			factory.addPoolLocator(this.host, this.port);
		}
	}
public void constructPoolLocator(ClientCacheFactory factory)
	{
		
		List<URI> list = this.getLocatorUrlList();
		if(list != null && !list.isEmpty())
		{
			for (URI uri : list)
			{
				factory.addPoolLocator(uri.getHost(), uri.getPort());
			}
		}
		else
		{
			factory.addPoolLocator(this.host, this.port);
		}
	}
public void constructPoolLocator ( ClientCacheFactory factory ) { List < URI > list = this . getLocatorUrlList ( ) ; if ( list != null && ! list . isEmpty ( ) ) { for ( URI uri : list ) { factory . addPoolLocator ( uri . getHost ( ) , uri . getPort ( ) ) ; } } else { factory . addPoolLocator ( this . host , this . port ) ; } }
------------------------------------------------
------------------------------------------------