Enum Class EvictionActionType

java.lang.Object
java.lang.Enum<EvictionActionType>
org.springframework.data.gemfire.eviction.EvictionActionType
All Implemented Interfaces:
Serializable, Comparable<EvictionActionType>, Constable

public enum EvictionActionType extends Enum<EvictionActionType>
The EvictionActionType enum is an enumeration of all the GemFire EvictionAction values.
Since:
1.6.0
Author:
John Blum
See Also:
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static EvictionActionType[] 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 EvictionActionType 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
    • getEvictionAction

      public static EvictionAction getEvictionAction(EvictionActionType evictionActionType)
      A null-safe operation to extract the GemFire EvictionAction from the EvictionActionType enumerated value.
      Parameters:
      evictionActionType - the EvictionActionType enumerated value from which to extract the matching GemFire EvictionAction value.
      Returns:
      a GemFire EvictionAction given a EvictionActionType enumerated value.
      See Also:
    • valueOf

      public static EvictionActionType valueOf(EvictionAction evictionAction)
      Returns an EvictionActionType enumerated value matching the given GemFire EvictionAction.
      Parameters:
      evictionAction - the GemFire EvictionAction used to lookup and match the appropriate EvictionActionType.
      Returns:
      an EvictionActionType enumerated value matching the given GemFire EvictionAction or null if no match was found.
      See Also:
    • valueOfIgnoreCase

      public static EvictionActionType valueOfIgnoreCase(String name)
      Returns an EvictionActionType enumerated value given the named, case-insensitive eviction action.
      Parameters:
      name - a String value indicating the name the eviction action used to match EvictionActionType.
      Returns:
      an EvictionActionType enumerated value matching the given named, case-insensitive eviction action or null if not match was found.
      See Also:
    • getEvictionAction

      public EvictionAction getEvictionAction()
      Gets the matching GemFire EvictionAction represented by this enumerated value.
      Returns:
      the GemFire EvictionAction represented by this enum.
      See Also: