Enum Class CacheInvalidationMode

java.lang.Object
java.lang.Enum<CacheInvalidationMode>
com.denodo.scheduler.client.commons.conventions.CacheInvalidationMode
All Implemented Interfaces:
Serializable, Comparable<CacheInvalidationMode>, Constable

public enum CacheInvalidationMode extends Enum<CacheInvalidationMode>
Enumeration with the possible values for the cache invalidation mode.
Since:
5.0
  • Enum Constant Details

    • NONE

      public static final CacheInvalidationMode NONE
      Cache is not invalidated.
    • ALL_ROWS

      public static final CacheInvalidationMode ALL_ROWS
      All rows from the cache of a view are invalidated.
    • MATCHING_ROWS

      public static final CacheInvalidationMode MATCHING_ROWS
      Only rows which match with the query are invalidated.
    • MATCHING_PK

      public static final CacheInvalidationMode MATCHING_PK
      Only rows which match with the primary key are invalidated.
  • Method Details

    • values

      public static CacheInvalidationMode[] 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 CacheInvalidationMode 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