Enum Cached.Action

java.lang.Object
java.lang.Enum<Cached.Action>
com.erudika.para.core.annotations.Cached.Action
All Implemented Interfaces:
Serializable, Comparable<Cached.Action>
Enclosing class:
Cached

public static enum Cached.Action extends Enum<Cached.Action>
The type of cache operation.
  • Enum Constant Details

    • NOOP

      public static final Cached.Action NOOP
      No operation. Do nothing.
    • PUT

      public static final Cached.Action PUT
      Put an object in cache.
    • GET

      public static final Cached.Action GET
      Get an object from cache.
    • DELETE

      public static final Cached.Action DELETE
      Delete an object from cache.
    • GET_ALL

      public static final Cached.Action GET_ALL
      Get all objects from cache.
    • PUT_ALL

      public static final Cached.Action PUT_ALL
      Put all objects in cache.
    • DELETE_ALL

      public static final Cached.Action DELETE_ALL
      Delete all objects from cache.
  • Method Details

    • values

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

      public static Cached.Action valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null