Class PoolLocatorBuilder

  • All Implemented Interfaces:
    ClientCacheBuilder

    public class PoolLocatorBuilder
    extends java.lang.Object
    implements ClientCacheBuilder
    Uses ClientCacheFactory.addPoolLocator(String, int) to build a client cache.

    In the adapter configuration file this class is aliased as "geode-client-cache-from-pool-locator" which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • PoolLocatorBuilder

        public PoolLocatorBuilder()
    • Method Detail

      • build

        public org.apache.geode.cache.client.ClientCache build​(org.apache.geode.cache.client.ClientCacheFactory factory)
        Specified by:
        build in interface ClientCacheBuilder
      • getHostname

        public java.lang.String getHostname()
      • setHostname

        public void setHostname​(java.lang.String hostname)
      • getPort

        public java.lang.Integer getPort()
      • setPort

        public void setPort​(java.lang.Integer port)