Class RevisionsKey
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.util.RevisionsKey
- All Implemented Interfaces:
Comparable<RevisionsKey>
,CacheValue
A cache key implementation which consists of two
Revision
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
int
compareTo
(@NotNull RevisionsKey k) boolean
static RevisionsKey
fromString
(String s) int
The estimated amount of memory used by this object, in bytes.getRev1()
getRev2()
int
hashCode()
toString()
-
Constructor Details
-
RevisionsKey
-
-
Method Details
-
getRev1
-
getRev2
-
getMemory
public int getMemory()Description copied from interface:CacheValue
The estimated amount of memory used by this object, in bytes.- Specified by:
getMemory
in interfaceCacheValue
- Returns:
- the estimated number of bytes
-
equals
-
hashCode
public int hashCode() -
toString
-
asString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RevisionsKey>
-
fromString
-