eviction/src/main/java/org/apache/geode_examples/eviction/Example.java [33:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static void main(String[] args) {
    // connect to the locator using default port 10334
    ClientCache cache = new ClientCacheFactory().addPoolLocator("127.0.0.1", 10334)
        .set("log-level", "WARN").create();

    Example example = new Example();

    // create a local region that matches the server region
    ClientRegionFactory<Integer, String> clientRegionFactory =
        cache.createClientRegionFactory(ClientRegionShortcut.PROXY);
    Region<Integer, String> region = clientRegionFactory.create("example-region");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



expiration/src/main/java/org/apache/geode_examples/expiration/Example.java [39:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static void main(String[] args) {
    // connect to the locator using default port 10334
    ClientCache cache = new ClientCacheFactory().addPoolLocator("127.0.0.1", 10334)
        .set("log-level", "WARN").create();

    Example example = new Example();

    // create a local region that matches the server region
    ClientRegionFactory<Integer, String> clientRegionFactory =
        cache.createClientRegionFactory(ClientRegionShortcut.PROXY);
    Region<Integer, String> region = clientRegionFactory.create("example-region");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



