Package org.apache.cassandra.service
Interface CacheServiceMBean
-
- All Known Implementing Classes:
CacheService
public interface CacheServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCounterCacheKeysToSave()intgetCounterCacheSavePeriodInSeconds()intgetKeyCacheKeysToSave()intgetKeyCacheSavePeriodInSeconds()intgetRowCacheKeysToSave()intgetRowCacheSavePeriodInSeconds()voidinvalidateCounterCache()voidinvalidateKeyCache()invalidate the key cache; for use after invalidating row cachevoidinvalidateRowCache()invalidate the row cache; for use after bulk loading via BinaryMemtablevoidsaveCaches()save row and key cachesvoidsetCounterCacheCapacityInMB(long capacity)voidsetCounterCacheKeysToSave(int cckts)voidsetCounterCacheSavePeriodInSeconds(int ccspis)voidsetKeyCacheCapacityInMB(long capacity)voidsetKeyCacheKeysToSave(int kckts)voidsetKeyCacheSavePeriodInSeconds(int kcspis)voidsetRowCacheCapacityInMB(long capacity)voidsetRowCacheKeysToSave(int rckts)voidsetRowCacheSavePeriodInSeconds(int rcspis)
-
-
-
Method Detail
-
getRowCacheSavePeriodInSeconds
int getRowCacheSavePeriodInSeconds()
-
setRowCacheSavePeriodInSeconds
void setRowCacheSavePeriodInSeconds(int rcspis)
-
getKeyCacheSavePeriodInSeconds
int getKeyCacheSavePeriodInSeconds()
-
setKeyCacheSavePeriodInSeconds
void setKeyCacheSavePeriodInSeconds(int kcspis)
-
getCounterCacheSavePeriodInSeconds
int getCounterCacheSavePeriodInSeconds()
-
setCounterCacheSavePeriodInSeconds
void setCounterCacheSavePeriodInSeconds(int ccspis)
-
getRowCacheKeysToSave
int getRowCacheKeysToSave()
-
setRowCacheKeysToSave
void setRowCacheKeysToSave(int rckts)
-
getKeyCacheKeysToSave
int getKeyCacheKeysToSave()
-
setKeyCacheKeysToSave
void setKeyCacheKeysToSave(int kckts)
-
getCounterCacheKeysToSave
int getCounterCacheKeysToSave()
-
setCounterCacheKeysToSave
void setCounterCacheKeysToSave(int cckts)
-
invalidateKeyCache
void invalidateKeyCache()
invalidate the key cache; for use after invalidating row cache
-
invalidateRowCache
void invalidateRowCache()
invalidate the row cache; for use after bulk loading via BinaryMemtable
-
invalidateCounterCache
void invalidateCounterCache()
-
setRowCacheCapacityInMB
void setRowCacheCapacityInMB(long capacity)
-
setKeyCacheCapacityInMB
void setKeyCacheCapacityInMB(long capacity)
-
setCounterCacheCapacityInMB
void setCounterCacheCapacityInMB(long capacity)
-
saveCaches
void saveCaches() throws java.util.concurrent.ExecutionException, java.lang.InterruptedExceptionsave row and key caches- Throws:
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.
-
-