@Override
  public void lockDiskStore(String diskStoreName) {
    doLockDiskStore(diskStoreName);
  }
Creates a new instance of GemFireCache and populates it according to the {@code cache.xml}, if
appropriate.

<p>
Currently only unit tests set the typeRegistry parameter to a non-null value
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java