public class MapRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int |
BITS_PER_LEVEL
Number of bits of the hash code to look at on each level of the trie.
|
protected static int |
BUCKETS_PER_LEVEL
Number of buckets at each level of the trie.
|
protected static int |
ERROR_SIZE
Going over this limit will generate an error message in the log
|
protected static int |
ERROR_SIZE_DISCARD_WRITES
Going over this limit will generate an error message in the log and won't allow writes
unless
oak.segmentNodeStore.allowWritesOnHugeMapRecord system property is set. |
protected static int |
ERROR_SIZE_HARD_STOP
Going over this limit will generate an error message in the log and won't allow any writes
whatsoever.
|
protected static int |
LEVEL_BITS
Number of bits needed to indicate the current trie level.
|
protected static int |
MAX_NUMBER_OF_LEVELS
Maximum number of trie levels.
|
protected static int |
MAX_SIZE
Maximum size of a map.
|
protected static int |
SIZE_BITS
Number of bits used to indicate the size of a map.
|
protected static int |
WARN_SIZE
Going over this limit will generate a warning message in the log
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
@NotNull GCGeneration |
getGcGeneration()
Get the underlying segment's gc generation.
|
RecordId |
getRecordId()
Returns the identifier of this record.
|
protected int |
getRecordNumber() |
protected Segment |
getSegment()
Returns the segment that contains this record.
|
int |
hashCode() |
boolean |
isDiff() |
java.lang.String |
toString() |
protected static final int BITS_PER_LEVEL
protected static final int BUCKETS_PER_LEVEL
protected static final int MAX_NUMBER_OF_LEVELS
protected static final int LEVEL_BITS
protected static final int SIZE_BITS
protected static final int MAX_SIZE
protected static final int WARN_SIZE
protected static final int ERROR_SIZE
protected static final int ERROR_SIZE_DISCARD_WRITES
oak.segmentNodeStore.allowWritesOnHugeMapRecord
system property is set.protected static final int ERROR_SIZE_HARD_STOP
UnsupportedOperationException
will be thrown.public boolean isDiff()
public java.lang.String toString()
protected Segment getSegment()
protected int getRecordNumber()
public RecordId getRecordId()
@NotNull public @NotNull GCGeneration getGcGeneration()
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.