Enum Class CacheEvent.CacheEventType

java.lang.Object
java.lang.Enum<CacheEvent.CacheEventType>
org.javalite.activejdbc.cache.CacheEvent.CacheEventType
All Implemented Interfaces:
Serializable, Comparable<CacheEvent.CacheEventType>, Constable
Enclosing class:
CacheEvent

public static enum CacheEvent.CacheEventType extends Enum<CacheEvent.CacheEventType>
  • Enum Constant Details

    • ALL

      public static final CacheEvent.CacheEventType ALL
      This type means that all caches need to be cleared.
    • GROUP

      public static final CacheEvent.CacheEventType GROUP
      This type means that only a cache for a specific group (table) needs to be cleared.
  • Method Details

    • values

      public static CacheEvent.CacheEventType[] 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 CacheEvent.CacheEventType 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