private void initSharedCache(Configuration conf) {
    synchronized (lock) {
      if (!sharedCacheInited) {
        sharedCacheInited = true;
        sharedCache.initialize(conf);
      }
    }
  }
Similar to setConf but used from within the tests
This does start the background thread for prewarm and update
@param conf
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java