Class MemoryDiffCache.Key
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.Key
-
- All Implemented Interfaces:
java.lang.Comparable<MemoryDiffCache.Key>,org.apache.jackrabbit.oak.cache.CacheValue
- Enclosing class:
- MemoryDiffCache
public static final class MemoryDiffCache.Key extends java.lang.Object implements org.apache.jackrabbit.oak.cache.CacheValue, java.lang.Comparable<MemoryDiffCache.Key>
-
-
Constructor Summary
Constructors Constructor Description Key(@NotNull Path path, @NotNull RevisionVector from, @NotNull RevisionVector to)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasString()intcompareTo(MemoryDiffCache.Key other)booleanequals(java.lang.Object obj)static MemoryDiffCache.KeyfromString(@NotNull java.lang.String s)@NotNull RevisionVectorgetFromRevision()intgetMemory()@NotNull PathgetPath()@NotNull RevisionVectorgetToRevision()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Key
public Key(@NotNull @NotNull Path path, @NotNull @NotNull RevisionVector from, @NotNull @NotNull RevisionVector to)
-
-
Method Detail
-
getPath
@NotNull public @NotNull Path getPath()
-
getFromRevision
@NotNull public @NotNull RevisionVector getFromRevision()
-
getToRevision
@NotNull public @NotNull RevisionVector getToRevision()
-
asString
public java.lang.String asString()
-
fromString
public static MemoryDiffCache.Key fromString(@NotNull @NotNull java.lang.String s)
-
getMemory
public int getMemory()
- Specified by:
getMemoryin interfaceorg.apache.jackrabbit.oak.cache.CacheValue
-
compareTo
public int compareTo(@NotNull MemoryDiffCache.Key other)- Specified by:
compareToin interfacejava.lang.Comparable<MemoryDiffCache.Key>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-