Class Record<K,​V>


  • final class Record<K,​V>
    extends java.lang.Object
    Class Record is a value for undoLog. It contains information about a single change of some map.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  Record.Type<K,​V>
      A data type for undo log values
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static Record<?,​?> COMMIT_MARKER  
      (package private) K key
      Key of the changed map entry key
      (package private) int mapId
      Map id for this change is related to
      (package private) VersionedValue<V> oldValue
      Value of the entry before change.
    • Constructor Summary

      Constructors 
      Constructor Description
      Record​(int mapId, K key, VersionedValue<V> oldValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COMMIT_MARKER

        static final Record<?,​?> COMMIT_MARKER
      • mapId

        final int mapId
        Map id for this change is related to
      • key

        final K key
        Key of the changed map entry key
      • oldValue

        final VersionedValue<V> oldValue
        Value of the entry before change. It is null if entry did not exist before the change (addition).
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object