mirror of https://github.com/apache/lucene.git
add missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2163160ad4
commit
c36c4d7264
|
@ -93,7 +93,7 @@ public class CachedOrdinalsReader extends OrdinalsReader {
|
|||
};
|
||||
}
|
||||
|
||||
/** Holds the cached ordinals in two paralel {@code int[]} arrays. */
|
||||
/** Holds the cached ordinals in two parallel {@code int[]} arrays. */
|
||||
public static final class CachedOrds {
|
||||
|
||||
/** Index into {@link #ordinals} for each document. */
|
||||
|
@ -137,6 +137,7 @@ public class CachedOrdinalsReader extends OrdinalsReader {
|
|||
}
|
||||
}
|
||||
|
||||
/** Returns number of bytes used by this cache entry */
|
||||
public long ramBytesUsed() {
|
||||
long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.sizeOf(offsets);
|
||||
if (offsets != ordinals) {
|
||||
|
|
Loading…
Reference in New Issue