| Package | Description |
|---|---|
| org.apache.cassandra.cache | |
| org.apache.cassandra.metrics |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentLinkedHashCache<K extends IMeasurableMemory,V extends IMeasurableMemory>
Wrapper so CLHM can implement ICache interface.
|
class |
SerializingCache<K,V>
Serializes cache values off-heap.
|
| Modifier and Type | Method and Description |
|---|---|
ICache<K,V> |
CacheProvider.create() |
ICache<RowCacheKey,IRowCacheEntry> |
NopCacheProvider.create() |
ICache<RowCacheKey,IRowCacheEntry> |
OHCProvider.create() |
ICache<RowCacheKey,IRowCacheEntry> |
SerializingCacheProvider.create() |
| Constructor and Description |
|---|
AutoSavingCache(ICache<K,V> cache,
CacheService.CacheType cacheType,
AutoSavingCache.CacheSerializer<K,V> cacheloader) |
InstrumentingCache(java.lang.String type,
ICache<K,V> map) |
| Constructor and Description |
|---|
CacheMetrics(java.lang.String type,
ICache<?,?> cache)
Create metrics for given cache.
|
Copyright © 2018 The Apache Software Foundation