SerializableRunnable getCacheSerializableRunnableForCloseCache() {
    return new SerializableRunnable() {
      @Override
      public void run() {
        JUnit4CacheTestCase.closeCache();
      }
    };
  }
Cacheserializable runnable which removes all the index on a partitioned region

@param name name of the partitioned regions
geode-core/src/distributedTest/java/org/apache/geode/cache/query/partitioned/PRQueryDUnitHelper.java