Class ConcurrentWriteLockedOffHeapHashMap<K,​V>

    • Constructor Detail

      • ConcurrentWriteLockedOffHeapHashMap

        public ConcurrentWriteLockedOffHeapHashMap​(PageSource tableSource,
                                                   Factory<? extends StorageEngine<? super K,​? super V>> storageEngineFactory)
        Creates a map using the given table buffer source and storage engine factory.
        Parameters:
        tableSource - buffer source from which hash tables are allocated
        storageEngineFactory - factory for the segment storage engines
      • ConcurrentWriteLockedOffHeapHashMap

        public ConcurrentWriteLockedOffHeapHashMap​(PageSource tableSource,
                                                   Factory<? extends StorageEngine<? super K,​? super V>> storageEngineFactory,
                                                   long tableSize,
                                                   int concurrency)
        Creates a map using the given table buffer source, storage engine factory, initial table size, and concurrency.
        Parameters:
        tableSource - buffer source from which hash tables are allocated
        storageEngineFactory - factory for the segment storage engines
        tableSize - initial table size (summed across all segments)
        concurrency - number of segments