Class AutoSavingCache<K extends CacheKey,V>

    • Field Detail

      • flushInProgress

        public static final java.util.Set<CacheService.CacheType> flushInProgress
        True if a cache flush is currently executing: only one may execute at a time.
      • saveTask

        protected volatile java.util.concurrent.ScheduledFuture<?> saveTask
    • Method Detail

      • getCachePath

        public getCachePath(java.lang.String ksName,                        java.lang.String cfName,                        java.lang.String version)
      • scheduleSaving

        public void scheduleSaving(int savePeriodInSeconds,                  int keysToSave)
      • submitWrite

        public java.util.concurrent.Future<?> submitWrite(int keysToSave)

Copyright © 2013 The Apache Software Foundation

Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14