Class NamePathRev

  • All Implemented Interfaces:
    Comparable<NamePathRev>, org.apache.jackrabbit.oak.cache.CacheValue

    public final class NamePathRev
    extends Object
    implements org.apache.jackrabbit.oak.cache.CacheValue, Comparable<NamePathRev>
    A cache key implementation, which is a combination of a name, path and a revision vector.
    • Constructor Detail

      • NamePathRev

        public NamePathRev​(@NotNull
                           @NotNull String name,
                           @NotNull
                           @NotNull Path path,
                           @NotNull
                           @NotNull RevisionVector revision)
    • Method Detail

      • getPath

        @NotNull
        public @NotNull Path getPath()
      • getName

        @NotNull
        public @NotNull String getName()
      • getMemory

        public int getMemory()
        Specified by:
        getMemory in interface org.apache.jackrabbit.oak.cache.CacheValue
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object