Class LocalDiffCache.Diff
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.LocalDiffCache.Diff
-
- All Implemented Interfaces:
CacheValue
- Enclosing class:
- LocalDiffCache
public static final class LocalDiffCache.Diff extends java.lang.Object implements CacheValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asString()
boolean
equals(java.lang.Object obj)
static LocalDiffCache.Diff
fromString(java.lang.String value)
java.util.Map<Path,java.lang.String>
getChanges()
int
getMemory()
The estimated amount of memory used by this object, in bytes.java.lang.String
toString()
-
-
-
Constructor Detail
-
Diff
public Diff(java.util.Map<Path,java.lang.String> changes, long memory)
-
-
Method Detail
-
fromString
public static LocalDiffCache.Diff fromString(java.lang.String value)
-
asString
public java.lang.String asString()
-
getChanges
public java.util.Map<Path,java.lang.String> getChanges()
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-