Class CacheableStorageProviderModel

    • Constructor Detail

      • CacheableStorageProviderModel

        public CacheableStorageProviderModel()
      • CacheableStorageProviderModel

        public CacheableStorageProviderModel​(ComponentModel copy)
    • Method Detail

      • getMaxLifespan

        public long getMaxLifespan()
      • setMaxLifespan

        public void setMaxLifespan​(long maxLifespan)
      • getEvictionHour

        public int getEvictionHour()
      • setEvictionHour

        public void setEvictionHour​(int evictionHour)
      • getEvictionMinute

        public int getEvictionMinute()
      • setEvictionMinute

        public void setEvictionMinute​(int evictionMinute)
      • getEvictionDay

        public int getEvictionDay()
      • setEvictionDay

        public void setEvictionDay​(int evictionDay)
      • getCacheInvalidBefore

        public long getCacheInvalidBefore()
      • setCacheInvalidBefore

        public void setCacheInvalidBefore​(long cacheInvalidBefore)
      • setEnabled

        public void setEnabled​(boolean flag)
      • isEnabled

        public boolean isEnabled()
      • getLifespan

        public long getLifespan()
      • shouldInvalidate

        public boolean shouldInvalidate​(CachedObject cached)
      • dailyTimeout

        public static long dailyTimeout​(int hour,
                                        int minute)
      • dailyEvictionBoundary

        public static long dailyEvictionBoundary​(int hour,
                                                 int minute)
      • weeklyTimeout

        public static long weeklyTimeout​(int day,
                                         int hour,
                                         int minute)