private void updateCacheUsingEvents() {
    if (canUseEvents) {
      try {
        triggerUpdateUsingEvent(rawStore);
      } catch (Exception e) {
        //TODO : Not sure how to handle it as the commit is already done in the object store.
        LOG.error("Failed to update cache", e);
      }
    }
  }
This starts a background thread, which initially populates the SharedCache and later
periodically gets updates from the metastore db

@param conf
@param runOnlyOnce
@param shouldRunPrewarm
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java