Class TransactionStore.TxMapBuilder.TMVMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
org.h2.mvstore.MVMap<K,V>
org.h2.mvstore.tx.TransactionStore.TxMapBuilder.TMVMap<K,V>
All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K,V>
Enclosing class:
TransactionStore.TxMapBuilder<K,V>

private static final class TransactionStore.TxMapBuilder.TMVMap<K,V> extends MVMap<K,V>
  • Field Details

    • type

      private final String type
  • Constructor Details

  • Method Details

    • cloneIt

      protected MVMap<K,V> cloneIt()
      Description copied from class: MVMap
      Clone the current map.
      Overrides:
      cloneIt in class MVMap<K,V>
      Returns:
      clone of this.
    • getType

      public String getType()
      Description copied from class: MVMap
      Get the map type. When opening an existing map, the map type must match.
      Overrides:
      getType in class MVMap<K,V>
      Returns:
      the map type
    • asString

      protected String asString(String name)
      Description copied from class: MVMap
      Get the map metadata as a string.
      Overrides:
      asString in class MVMap<K,V>
      Parameters:
      name - the map name (or null)
      Returns:
      the string