public interface CacheServiceMBean
Modifier and Type | Method and Description |
---|---|
long |
getKeyCacheCapacityInBytes()
Deprecated.
|
long |
getKeyCacheCapacityInMB()
Deprecated.
|
long |
getKeyCacheEntries()
Deprecated.
|
long |
getKeyCacheHits()
Deprecated.
|
int |
getKeyCacheKeysToSave() |
double |
getKeyCacheRecentHitRate()
Deprecated.
|
long |
getKeyCacheRequests()
Deprecated.
|
int |
getKeyCacheSavePeriodInSeconds() |
long |
getKeyCacheSize()
Deprecated.
|
long |
getRowCacheCapacityInBytes()
Deprecated.
|
long |
getRowCacheCapacityInMB()
Deprecated.
|
long |
getRowCacheEntries()
Deprecated.
|
long |
getRowCacheHits()
Deprecated.
|
int |
getRowCacheKeysToSave() |
double |
getRowCacheRecentHitRate()
Deprecated.
|
long |
getRowCacheRequests()
Deprecated.
|
int |
getRowCacheSavePeriodInSeconds() |
long |
getRowCacheSize()
Deprecated.
|
void |
invalidateKeyCache()
invalidate the key cache; for use after invalidating row cache
|
void |
invalidateRowCache()
invalidate the row cache; for use after bulk loading via BinaryMemtable
|
void |
reduceCacheSizes()
sets each cache's maximum capacity to "reduce_cache_capacity_to" of its current size
|
void |
saveCaches()
save row and key caches
|
void |
setKeyCacheCapacityInMB(long capacity) |
void |
setKeyCacheKeysToSave(int kckts) |
void |
setKeyCacheSavePeriodInSeconds(int kcspis) |
void |
setRowCacheCapacityInMB(long capacity) |
void |
setRowCacheKeysToSave(int rckts) |
void |
setRowCacheSavePeriodInSeconds(int rcspis) |
int getRowCacheSavePeriodInSeconds()
void setRowCacheSavePeriodInSeconds(int rcspis)
int getKeyCacheSavePeriodInSeconds()
void setKeyCacheSavePeriodInSeconds(int kcspis)
int getRowCacheKeysToSave()
void setRowCacheKeysToSave(int rckts)
int getKeyCacheKeysToSave()
void setKeyCacheKeysToSave(int kckts)
void invalidateKeyCache()
void invalidateRowCache()
void setRowCacheCapacityInMB(long capacity)
void setKeyCacheCapacityInMB(long capacity)
void reduceCacheSizes()
void saveCaches() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
- when attempting to retrieve the result of a task that aborted by throwing an exceptionjava.lang.InterruptedException
- when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.@Deprecated long getKeyCacheHits()
CacheMetrics.hits
@Deprecated long getRowCacheHits()
CacheMetrics.hits
@Deprecated long getKeyCacheRequests()
CacheMetrics.requests
@Deprecated long getRowCacheRequests()
CacheMetrics.requests
@Deprecated double getKeyCacheRecentHitRate()
CacheMetrics.hitRate
@Deprecated double getRowCacheRecentHitRate()
CacheMetrics.hitRate
@Deprecated long getRowCacheCapacityInMB()
CacheMetrics.capacity
@Deprecated long getRowCacheCapacityInBytes()
CacheMetrics.capacity
@Deprecated long getKeyCacheCapacityInMB()
CacheMetrics.capacity
@Deprecated long getKeyCacheCapacityInBytes()
CacheMetrics.capacity
@Deprecated long getRowCacheSize()
CacheMetrics.size
@Deprecated long getRowCacheEntries()
CacheMetrics.entries
@Deprecated long getKeyCacheSize()
CacheMetrics.size
@Deprecated long getKeyCacheEntries()
CacheMetrics.entries
Copyright © 2014 The Apache Software Foundation