Enum Class Cached.Action

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

public static enum Cached.Action extends Enum<Cached.Action>
The type of cache operation.
Author:
Alex Bogdanovski [[email protected]]
  • 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 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 Cached.Action 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