|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SessionPersistence>
org.jclouds.rackspace.cloudloadbalancers.v1.domain.SessionPersistence
public 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 Summary | |
|---|---|
HTTP_COOKIE
A session persistence mechanism that inserts an HTTP cookie and is used to determine the destination back-end node. |
|
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. |
|
UNRECOGNIZED
|
|
| Method Summary | |
|---|---|
static SessionPersistence |
fromValue(String sessionPersistence)
|
static SessionPersistence |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SessionPersistence[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SessionPersistence HTTP_COOKIE
public static final SessionPersistence SOURCE_IP
public static final SessionPersistence UNRECOGNIZED
| Method Detail |
|---|
public static SessionPersistence[] values()
for (SessionPersistence c : SessionPersistence.values()) System.out.println(c);
public static SessionPersistence valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static SessionPersistence fromValue(String sessionPersistence)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||