Class LocalDiffCache


  • public class LocalDiffCache
    extends java.lang.Object
    A diff cache, which is pro-actively filled after a commit.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LocalDiffCache.Diff  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getChanges​(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)  
      @NotNull java.lang.Iterable<org.apache.jackrabbit.oak.cache.CacheStats> getStats()  
      void invalidateAll()  
      @NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry newEntry​(@NotNull RevisionVector from, @NotNull RevisionVector to, boolean local)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getChanges

        public java.lang.String getChanges​(@NotNull
                                           @NotNull RevisionVector from,
                                           @NotNull
                                           @NotNull RevisionVector to,
                                           @NotNull
                                           @NotNull Path path,
                                           @Nullable
                                           @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)
      • newEntry

        @NotNull
        public @NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry newEntry​(@NotNull
                                                                                            @NotNull RevisionVector from,
                                                                                            @NotNull
                                                                                            @NotNull RevisionVector to,
                                                                                            boolean local)
      • getStats

        @NotNull
        public @NotNull java.lang.Iterable<org.apache.jackrabbit.oak.cache.CacheStats> getStats()
      • invalidateAll

        public void invalidateAll()