コード例 #1
0
 /** Get all second-level cache region names */
 @Override
 public String[] getSecondLevelCacheRegionNames() {
   if (sessionFactory == null) {
     return ArrayHelper.toStringArray(secondLevelCacheStatistics.keySet());
   } else {
     return ArrayHelper.toStringArray(sessionFactory.getAllSecondLevelCacheRegions().keySet());
   }
 }
コード例 #2
0
 @Override
 public Map getAllSecondLevelCacheRegions() {
   return delegate.getAllSecondLevelCacheRegions();
 }