コード例 #1
0
ファイル: JCacheStore.java プロジェクト: arthur-evozon/gora
 private void populateLocalCacheEntrySet(ICache<K, T> cache) {
   cacheEntryList = new ConcurrentSkipListSet<>();
   Iterator<Cache.Entry<K, T>> cacheEntryIterator = cache.iterator();
   while (cacheEntryIterator.hasNext()) {
     cacheEntryList.add(cacheEntryIterator.next().getKey());
   }
   cacheConfig = cache.getConfiguration(CacheConfig.class);
   LOG.info("Populated local cache entry set with respect to remote cache provider.");
 }