Enum Class InterestPolicyType

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

public enum InterestPolicyType extends Enum<InterestPolicyType>
The InterestPolicyType enum is an enumeration of all the GemFire Subscription, InterestPolicy values.
Since:
1.3.0
Author:
Lyndon Adams, John Blum
See Also:
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static InterestPolicyType[] 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 InterestPolicyType 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
    • getInterestPolicy

      public static InterestPolicy getInterestPolicy(InterestPolicyType interestPolicyType)
      Null-safe operation to extract the GemFire InterestPolicy from the InterPolicyType enumerated value.
      Parameters:
      interestPolicyType - the InterestPolicyType enum from which to extract GemFire's InterestPolicy
      Returns:
      a GemFire InterestPolicy for the given InterestPolicyType enumerated value or null if InterestPolicyType is null.
      See Also:
    • valueOf

      public static InterestPolicyType valueOf(InterestPolicy interestPolicy)
      Returns a SubscriptionType enumerated value for the given GemFire InterestPolicy.
      Parameters:
      interestPolicy - the GemFire InterestPolicy used to lookup and match a SubscriptionType.
      Returns:
      a SubscriptionType enumerated value matching the given GemFire InterestPolicy or null if no matching value was found.
      See Also:
    • valueOfIgnoreCase

      public static InterestPolicyType valueOfIgnoreCase(String value)
      Returns a SubscriptionType enumerated value for the case-insensitive, named Subscription (InterestsPolicy).
      Parameters:
      value - a String name used to look and match the SubscriptionType.
      Returns:
      a SubscriptionType enumerated value for the given case-insensitive named Subscription or null if no match was found.
      See Also:
    • getInterestPolicy

      public InterestPolicy getInterestPolicy()
      Returns the GemFire InterestPolicy corresponding to this SubscriptionType enumerated value.
      Returns:
      the GemFire InterestPolicy corresponding to this SubscriptionType.
      See Also: