Class TransactionStore.TxMapBuilder.TMVMap<K,​V>

  • All Implemented Interfaces:
    java.util.concurrent.ConcurrentMap<K,​V>, java.util.Map<K,​V>
    Enclosing class:
    TransactionStore.TxMapBuilder<K,​V>

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

      • type

        private final java.lang.String type
    • Constructor Detail

      • TMVMap

        TMVMap​(java.util.Map<java.lang.String,​java.lang.Object> config,
               DataType<K> keyType,
               DataType<V> valueType)
      • TMVMap

        private TMVMap​(MVMap<K,​V> source)
    • Method Detail

      • 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 java.lang.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 java.lang.String asString​(java.lang.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