Package com.gemstone.gemfire.cache.client

Examples of com.gemstone.gemfire.cache.client.PoolFactory.create()


      poolFactory
          .setSubscriptionMessageTrackingTimeout(subscriptionMessageTrackingTimeout);
      poolFactory.setSubscriptionRedundancy(subscriptionRedundancy);
      poolFactory.setThreadLocalConnections(threadLocalConnections);
    
      pool = poolFactory.create(name);
    }
  }

  public void destroy() throws Exception {
    if (internalPool && pool != null) {
View Full Code Here


    cache = ccf.create();

    PoolFactory pf = PoolManager.createFactory();
    pf.addServer("localhost", 40404);
    pf.setSubscriptionEnabled(true);
    pool = pf.create("client");

    ClientRegionFactory<String, Integer> crf = cache.createClientRegionFactory(ClientRegionShortcut.PROXY);
    crf.setPoolName("client");
    clientRegion = crf.create("test-function");
  }
View Full Code Here

    cache = ccf.create();

    PoolFactory pf = PoolManager.createFactory();
    pf.addServer("localhost", 40404);
    pf.setSubscriptionEnabled(true);
    pool = pf.create("client");

    ClientRegionFactory<String, Integer> crf = cache.createClientRegionFactory(ClientRegionShortcut.PROXY);
    crf.setPoolName("client");
    clientRegion = crf.create("test-function");
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.