Interface CacheServiceMBean

All Known Implementing Classes:
CacheService

public interface CacheServiceMBean
  • Method Details

    • 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 ExecutionException, InterruptedException
      save row and key caches
      Throws:
      ExecutionException - when attempting to retrieve the result of a task that aborted by throwing an exception
      InterruptedException - when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.