Enum Class SessionPersistence

java.lang.Object
java.lang.Enum<SessionPersistence>
org.jclouds.rackspace.cloudloadbalancers.v1.domain.SessionPersistence
All Implemented Interfaces:
Serializable, Comparable<SessionPersistence>, java.lang.constant.Constable

public enum SessionPersistence extends Enum<SessionPersistence>
Session persistence is a feature of the load balancing service that forces multiple requests from clients to be directed to the same node. This is common with many web applications that do not inherently share application state between back-end servers.
  • Enum Constant Details

    • SOURCE_IP

      public static final SessionPersistence SOURCE_IP
      A session persistence mechanism that will keep track of the source IP address that is mapped and is able to determine the destination back-end node. This is supported for HTTPS pass-through and non-HTTP load balancing only.
    • UNRECOGNIZED

      public static final SessionPersistence UNRECOGNIZED
  • Method Details

    • values

      public static SessionPersistence[] 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 SessionPersistence 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
    • fromValue

      public static SessionPersistence fromValue(String sessionPersistence)