public interface CacheServiceMBean
Modifier and Type | Method and Description |
---|---|
int |
getCounterCacheKeysToSave() |
int |
getCounterCacheSavePeriodInSeconds() |
int |
getKeyCacheKeysToSave() |
int |
getKeyCacheSavePeriodInSeconds() |
int |
getRowCacheKeysToSave() |
int |
getRowCacheSavePeriodInSeconds() |
void |
invalidateCounterCache() |
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 |
saveCaches()
save row and key caches
|
void |
setCounterCacheCapacityInMB(long capacity) |
void |
setCounterCacheKeysToSave(int cckts) |
void |
setCounterCacheSavePeriodInSeconds(int ccspis) |
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 getCounterCacheSavePeriodInSeconds()
void setCounterCacheSavePeriodInSeconds(int ccspis)
int getRowCacheKeysToSave()
void setRowCacheKeysToSave(int rckts)
int getKeyCacheKeysToSave()
void setKeyCacheKeysToSave(int kckts)
int getCounterCacheKeysToSave()
void setCounterCacheKeysToSave(int cckts)
void invalidateKeyCache()
void invalidateRowCache()
void invalidateCounterCache()
void setRowCacheCapacityInMB(long capacity)
void setKeyCacheCapacityInMB(long capacity)
void setCounterCacheCapacityInMB(long capacity)
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.Copyright © 2009-2021 The Apache Software Foundation