Class LfuCacheSettings

  • Direct Known Subclasses:
    LfuCacheSettings

    public abstract class LfuCacheSettings
    extends java.lang.Object
    Public API but not intended for subclassing
    • Constructor Detail

      • LfuCacheSettings

        public LfuCacheSettings()
    • Method Detail

      • create

        public static LfuCacheSettings create​(com.typesafe.config.Config config)
      • create

        public static LfuCacheSettings create​(java.lang.String configOverrides)
      • getMaxCapacity

        public abstract int getMaxCapacity()
      • getInitialCapacity

        public abstract int getInitialCapacity()
      • getTimeToLive

        public abstract scala.concurrent.duration.Duration getTimeToLive()
      • getTimeToIdle

        public abstract scala.concurrent.duration.Duration getTimeToIdle()
      • withMaxCapacity

        public LfuCacheSettings withMaxCapacity​(int newMaxCapacity)
      • withInitialCapacity

        public LfuCacheSettings withInitialCapacity​(int newInitialCapacity)
      • withTimeToLive

        public LfuCacheSettings withTimeToLive​(scala.concurrent.duration.Duration newTimeToLive)
      • withTimeToIdle

        public LfuCacheSettings withTimeToIdle​(scala.concurrent.duration.Duration newTimeToIdle)