Enum Class ExpiryConfiguration.ExpiryType

java.lang.Object
java.lang.Enum<ExpiryConfiguration.ExpiryType>
io.leandev.appfuse.cache.config.ExpiryConfiguration.ExpiryType
All Implemented Interfaces:
Serializable, Comparable<ExpiryConfiguration.ExpiryType>, Constable
Enclosing class:
ExpiryConfiguration

public static enum ExpiryConfiguration.ExpiryType extends Enum<ExpiryConfiguration.ExpiryType>
過期策略類型
Since:
1.0
  • Enum Constant Details

  • Method Details

    • values

      public static ExpiryConfiguration.ExpiryType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExpiryConfiguration.ExpiryType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null