Class TogglzProperties.Cache

java.lang.Object
org.togglz.spring.boot.actuate.autoconfigure.TogglzProperties.Cache
Enclosing class:
TogglzProperties

public static class TogglzProperties.Cache extends Object
  • Constructor Details

    • Cache

      public Cache()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getTimeToLive

      public long getTimeToLive()
    • setTimeToLive

      public void setTimeToLive(long timeToLive)
      Parameters:
      timeToLive - time in milliseconds after which the cache will expire and the value will get reloaded. Setting this to 0 will never expire the cache unless the feature state gets modified. Negative values are not allowed.
    • getTimeUnit

      public TimeUnit getTimeUnit()
    • setTimeUnit

      public void setTimeUnit(TimeUnit timeUnit)