Enum Class ExpirationActionType

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

public enum ExpirationActionType extends Enum<ExpirationActionType>
The ExpirationActionType enum is a enumeration of GemFire ExpirationActions on expired Cache Region entries.
Since:
1.6.0
Author:
John Blum
See Also:
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static ExpirationActionType[] 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 ExpirationActionType 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
    • getExpirationAction

      public static ExpirationAction getExpirationAction(ExpirationActionType expirationActionType)
      A null-safe operation to extract the corresponding GemFire ExpirationAction for the ExpirationActionType.
      Parameters:
      expirationActionType - the ExpirationActionType enumerated value from which to extract the corresponding GemFire ExpirationAction.
      Returns:
      a GemFire ExpirationAction given the ExpirationActionType enumerated value.
      See Also:
    • valueOf

      public static ExpirationActionType valueOf(ExpirationAction expirationAction)
      Returns the ExpirationActionType enumerated value matching the given GemFire ExpirationAction.
      Parameters:
      expirationAction - the GemFire ExpirationAction used to match the ExpirationActionType.
      Returns:
      a matching ExpirationActionType enumerated value given a GemFire ExpirationAction or null if no match was found.
      See Also:
    • valueOfIgnoreCase

      public static ExpirationActionType valueOfIgnoreCase(String name)
      Returns an ExpirationActionType enumerated value given a named, case-insensitive expiration action.
      Parameters:
      name - a String name for the expiration action matching the ExpirationActionType.
      Returns:
      a matching ExpirationActionType for the named, case-insensitive expiration action or null if no match could be found.
      See Also:
    • getExpirationAction

      public ExpirationAction getExpirationAction()
      Gets the matching GemFire ExpirationAction for this enumerated value.
      Returns:
      the GemFire ExpirationAction instance corresponding to this enumerated value.
      See Also: