org.terracotta.offheapstore.disk.persistent
Class PersistentConcurrentOffHeapHashMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.terracotta.offheapstore.concurrent.AbstractConcurrentOffHeapMap<K,V>
          extended by org.terracotta.offheapstore.disk.persistent.AbstractPersistentConcurrentOffHeapMap<K,V>
              extended by org.terracotta.offheapstore.disk.persistent.PersistentConcurrentOffHeapHashMap<K,V>
All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K,V>, ConcurrentMapInternals, Persistent, MapInternals

public class PersistentConcurrentOffHeapHashMap<K,V>
extends AbstractPersistentConcurrentOffHeapMap<K,V>

Author:
Chris Dennis

Nested Class Summary
 
Nested classes/interfaces inherited from class org.terracotta.offheapstore.concurrent.AbstractConcurrentOffHeapMap
AbstractConcurrentOffHeapMap.AggregateIterator<T>
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.terracotta.offheapstore.concurrent.AbstractConcurrentOffHeapMap
segments
 
Constructor Summary
PersistentConcurrentOffHeapHashMap(MappedPageSource tableSource, Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory)
           
PersistentConcurrentOffHeapHashMap(MappedPageSource tableSource, Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory, long tableSize, int concurrency)
           
PersistentConcurrentOffHeapHashMap(ObjectInput input, MappedPageSource tableSource, Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory)
           
PersistentConcurrentOffHeapHashMap(ObjectInput input, MappedPageSource tableSource, Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory, long tableSize, int concurrency)
           
 
Method Summary
 
Methods inherited from class org.terracotta.offheapstore.disk.persistent.AbstractPersistentConcurrentOffHeapMap
bootstrap, close, flush, persist, readSegmentCount
 
Methods inherited from class org.terracotta.offheapstore.concurrent.AbstractConcurrentOffHeapMap
clear, containsKey, containsValue, destroy, entrySet, fill, fill, get, getAllocatedMemory, getAndSetMetadata, getConcurrency, getDataAllocatedMemory, getDataOccupiedMemory, getDataSize, getDataVitalMemory, getIndexFor, getMetadata, getOccupiedMemory, getRemovedSlotCount, getReprobeLength, getSegmentInternals, getSegments, getSize, getTableCapacity, getUsedSlotCount, getValueAndSetMetadata, getVitalMemory, handleOversizeMappingException, keySet, put, put, putIfAbsent, readLockAll, readUnlockAll, remove, remove, removeNoReturn, replace, replace, segmentFor, segmentFor, size, values, writeLockAll, writeUnlockAll
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, isEmpty, putAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty, putAll
 

Constructor Detail

PersistentConcurrentOffHeapHashMap

public PersistentConcurrentOffHeapHashMap(MappedPageSource tableSource,
                                          Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory)

PersistentConcurrentOffHeapHashMap

public PersistentConcurrentOffHeapHashMap(ObjectInput input,
                                          MappedPageSource tableSource,
                                          Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory)
                                   throws IOException
Throws:
IOException

PersistentConcurrentOffHeapHashMap

public PersistentConcurrentOffHeapHashMap(MappedPageSource tableSource,
                                          Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory,
                                          long tableSize,
                                          int concurrency)

PersistentConcurrentOffHeapHashMap

public PersistentConcurrentOffHeapHashMap(ObjectInput input,
                                          MappedPageSource tableSource,
                                          Factory<? extends PersistentStorageEngine<? super K,? super V>> storageEngineFactory,
                                          long tableSize,
                                          int concurrency)
                                   throws IOException
Throws:
IOException


Copyright © 2015. All Rights Reserved.