Class PersistentCache

    • Constructor Detail

      • PersistentCache

        public PersistentCache​(String url)
    • Method Detail

      • close

        public void close()
      • wrap

        public <K extends org.apache.jackrabbit.oak.cache.CacheValue,​V extends org.apache.jackrabbit.oak.cache.CacheValue> Cache<K,​V> wrap​(DocumentNodeStore docNodeStore,
                                                                                                                                                       DocumentStore docStore,
                                                                                                                                                       Cache<K,​V> base,
                                                                                                                                                       CacheType type)
      • wrap

        public <K extends org.apache.jackrabbit.oak.cache.CacheValue,​V extends org.apache.jackrabbit.oak.cache.CacheValue> Cache<K,​V> wrap​(DocumentNodeStore docNodeStore,
                                                                                                                                                       DocumentStore docStore,
                                                                                                                                                       Cache<K,​V> base,
                                                                                                                                                       CacheType type,
                                                                                                                                                       org.apache.jackrabbit.oak.stats.StatisticsProvider statisticsProvider)
      • openMap

        public <K,​V> CacheMap<K,​V> openMap​(int generation,
                                                       String name,
                                                       org.h2.mvstore.MVMap.Builder<K,​V> builder)
      • switchGenerationIfNeeded

        public void switchGenerationIfNeeded()
      • getMaxSize

        public int getMaxSize()
      • getOpenCount

        public int getOpenCount()
      • getExceptionCount

        public int getExceptionCount()