|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.offheapstore.concurrent.WriteLockedOffHeapClockCacheFactory<K,V>
K - the type of keys held by the generated cachesV - the type of mapped valuespublic class WriteLockedOffHeapClockCacheFactory<K,V>
Factory of WriteLockedOffHeapClockCache instances.
| Constructor Summary | |
|---|---|
WriteLockedOffHeapClockCacheFactory(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
Creates segments using the given table buffer source and storage engine factory. |
|
WriteLockedOffHeapClockCacheFactory(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. |
|
WriteLockedOffHeapClockCacheFactory(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. |
|
WriteLockedOffHeapClockCacheFactory(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 | |
|---|---|
WriteLockedOffHeapClockCache<K,V> |
newInstance()
Creates a new WriteLockedOffHeapClockCache 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 WriteLockedOffHeapClockCacheFactory(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 WriteLockedOffHeapClockCacheFactory(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 WriteLockedOffHeapClockCacheFactory(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 WriteLockedOffHeapClockCacheFactory(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 WriteLockedOffHeapClockCache<K,V> newInstance()
WriteLockedOffHeapClockCache for use in a
segmented cache.
newInstance in interface Factory<WriteLockedOffHeapClockCache<K,V>>WriteLockedOffHeapClockCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||