@Override
      protected Integer initialValue() {
        return nextId.getAndIncrement();
      }
A thread safe time expired cache for HiveMetaStoreClient
hcatalog/core/src/main/java/org/apache/hive/hcatalog/common/HiveClientCache.java