private void startGemFire() {
    cache = GemFireCacheImpl.getInstance();
    if (cache == null) {
      CacheFactory cacheFactory = new CacheFactory();
      cache = cacheFactory.create();
    }
    logger = cache.getLogger();
  }
Starts an embedded GemFire caching node, and then listens for new memcached client connections.
geode-memcached/src/main/java/org/apache/geode/memcached/GemFireMemcachedServer.java