Github user xuchuanyin commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2327#discussion_r189769888
--- Diff:
core/src/main/java/org/apache/carbondata/core/cache/CacheProvider.java ---
@@ -101,6 +102,31 @@ public static CacheProvider getInstance() {
return cacheTypeToCacheMap.get(cacheType);
}
+ /**
+ * This method will check if a cache already exists for given cache type
and store
+ * if it is not present in the map
+ */
+ public <K, V> Cache<K, V> createCache(CacheType cacheType, String
cacheClassName)
--- End diff --
Can we specify the size reserved for each type of cache?
---