| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Record | |
| pack-priv final K | key
Key of the changed map entry key |
| pack-priv final int | mapId
Map id for this change is related to |
| pack-priv final VersionedValue | oldValue
Value of the entry before change. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| COMMIT_MARKER | back to summary |
|---|---|
| pack-priv static final Record<?, ?> COMMIT_MARKER | |
| key | back to summary |
|---|---|
| pack-priv final K key Key of the changed map entry key | |
| mapId | back to summary |
|---|---|
| pack-priv final int mapId Map id for this change is related to | |
| oldValue | back to summary |
|---|---|
| pack-priv final VersionedValue<V> oldValue Value of the entry before change. It is null if entry did not exist before the change (addition). | |
| Record | back to summary |
|---|---|
| pack-priv Record(int mapId, K key, VersionedValue<V> oldValue) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final TransactionStore |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Record<K, V>
the first key aObj, Record<K, V> the second key bObj)Overrides org. Implements org. Compare two keys. |
| public Record | createStorage(int
number of values to hold size)Implements org. Create storage object of array type to hold values |
| public int | getMemory(Record<K, V>
the object record)Implements abstract org. Implements org. Calculates the amount of used memory in bytes. |
| public Record | read(ByteBuffer
the source buffer buff)Implements abstract org. Implements org. Read an object. |
| public void | write(WriteBuffer
the target buffer buff, Record<K, V> the value record)Implements abstract org. Implements org. Write an object. |
| transactionStore | back to summary |
|---|---|
| private final TransactionStore transactionStore | |
| Type | back to summary |
|---|---|
| pack-priv Type(TransactionStore transactionStore) | |
| compare | back to summary |
|---|---|
| public int compare(Record<K, V> aObj, Record<K, V> bObj) Overrides org. Implements org. Doc from org. Compare two keys. | |
| createStorage | back to summary |
|---|---|
| public Record Implements org. Doc from org. Create storage object of array type to hold values
| |
| getMemory | back to summary |
|---|---|
| public int getMemory(Record<K, V> record) Implements abstract org. Implements org. Doc from org. Calculates the amount of used memory in bytes. | |
| read | back to summary |
|---|---|
| public Record Implements abstract org. Implements org. Doc from org. Read an object.
| |
| write | back to summary |
|---|---|
| public void write(WriteBuffer buff, Record<K, V> record) Implements abstract org. Implements org. Doc from org. Write an object.
| |