public static void setInstance(PersistenceObserver instance) {
    if (instance == null) {
      INSTANCE = new PersistenceObserverAdapter();
    }
    INSTANCE = instance;
  }
Used for test hooks to during the persistence process.
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/PersistenceObserverHolder.java