|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.offheapstore.concurrent.ReadWriteLockedOffHeapClockCacheFactory<K,V>
K - the type of keys held by the generated cachesV - the type of mapped valuespublic class ReadWriteLockedOffHeapClockCacheFactory<K,V>
Factory of ReadWriteLockedOffHeapClockCache instances.
| Constructor Summary | |
|---|---|
ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
Creates segments using the given table buffer source and storage engine factory. |
|
ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
EvictionListener<K,V> evictionListener)
Creates segments using the given table buffer source and storage engine factory. |
|
ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
EvictionListener<K,V> evictionListener,
int tableSize)
Creates segments using the given table buffer source, storage engine factory, eviction listener and initial table size. |
|
ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
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. |
|
| Method Summary | |
|---|---|
ReadWriteLockedOffHeapClockCache<K,V> |
newInstance()
Creates a new ReadWriteLockedOffHeapClockCache for use in a
segmented cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadWriteLockedOffHeapClockCacheFactory(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 ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
EvictionListener<K,V> evictionListener)
tableSource - buffer source from which the segment hash tables are allocatedstorageEngineFactory - factory for the segment storage enginesevictionListener - listener notified on evictions
public ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
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
public ReadWriteLockedOffHeapClockCacheFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
EvictionListener<K,V> evictionListener,
int tableSize)
tableSource - buffer source from which the segment hash tables are allocatedstorageEngineFactory - factory for the segment storage enginesevictionListener - listener notified on evictionstableSize - initial table size for each segment| Method Detail |
|---|
public ReadWriteLockedOffHeapClockCache<K,V> newInstance()
ReadWriteLockedOffHeapClockCache for use in a
segmented cache.
newInstance in interface Factory<ReadWriteLockedOffHeapClockCache<K,V>>ReadWriteLockedOffHeapClockCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||