private static void removeCacheProviderExceptCaffeineCacheProvider() {
		Iterator<CachingProvider> iterator = Caching.getCachingProviders().iterator();
		while (iterator.hasNext()) {
			CachingProvider cachingProvider = iterator.next();
			if (!(cachingProvider instanceof CaffeineCachingProvider)) {
				iterator.remove();
			}
		}
	}
remove all cache provider except caffeine cache provider for using JCacheRegionFactory in hibernate second level cache.
ngrinder-controller/src/main/java/org/ngrinder/infra/spring/listener/ApplicationPreparedListener.java