|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.offheapstore.concurrent.ReadWriteLockedOffHeapHashMapFactory<K,V>
K - the type of keys held by the generated mapsV - the type of mapped valuespublic class ReadWriteLockedOffHeapHashMapFactory<K,V>
Factory of ReadWriteLockedOffHeapHashMap instances.
| Constructor Summary | |
|---|---|
ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
boolean tableAllocationsSteal,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
|
|
ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
boolean tableAllocationsSteal,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
int tableSize)
Creates segments using the given table buffer source, storage engine factory, and initial table size. |
|
ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
Creates segments using the given table buffer source and storage engine factory. |
|
ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
int tableSize)
|
|
| Method Summary | |
|---|---|
ReadWriteLockedOffHeapHashMap<K,V> |
newInstance()
Creates a new ReadWriteLockedOffHeapHashMap for use in a
segmented map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
tableSource - buffer source from which the segment hash tables are allocatedstorageEngineFactory - factory for the segment storage engines
public ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
boolean tableAllocationsSteal,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
public ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
int tableSize)
public ReadWriteLockedOffHeapHashMapFactory(PageSource tableSource,
boolean tableAllocationsSteal,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
int tableSize)
tableSource - buffer source from which the segment hash tables are allocatedstorageEngineFactory - factory for the segment storage enginestableSize - initial table size for each segment| Method Detail |
|---|
public ReadWriteLockedOffHeapHashMap<K,V> newInstance()
ReadWriteLockedOffHeapHashMap for use in a
segmented map.
newInstance in interface Factory<ReadWriteLockedOffHeapHashMap<K,V>>ReadWriteLockedOffHeapHashMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||