Package org.wildfly.extension.undertow
Enum DeploymentDefinition.SessionStat
- java.lang.Object
-
- java.lang.Enum<DeploymentDefinition.SessionStat>
-
- org.wildfly.extension.undertow.DeploymentDefinition.SessionStat
-
- All Implemented Interfaces:
Serializable,Comparable<DeploymentDefinition.SessionStat>
- Enclosing class:
- DeploymentDefinition
public static enum DeploymentDefinition.SessionStat extends Enum<DeploymentDefinition.SessionStat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_SESSIONSEXPIRED_SESSIONSHIGHEST_SESSION_COUNTMAX_ACTIVE_SESSIONSREJECTED_SESSIONSSESSION_AVG_ALIVE_TIMESESSION_MAX_ALIVE_TIMESESSIONS_CREATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentDefinition.SessionStatgetStat(String stringForm)StringtoString()static DeploymentDefinition.SessionStatvalueOf(String name)Returns the enum constant of this type with the specified name.static DeploymentDefinition.SessionStat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_SESSIONS
public static final DeploymentDefinition.SessionStat ACTIVE_SESSIONS
-
EXPIRED_SESSIONS
public static final DeploymentDefinition.SessionStat EXPIRED_SESSIONS
-
SESSIONS_CREATED
public static final DeploymentDefinition.SessionStat SESSIONS_CREATED
-
SESSION_AVG_ALIVE_TIME
public static final DeploymentDefinition.SessionStat SESSION_AVG_ALIVE_TIME
-
SESSION_MAX_ALIVE_TIME
public static final DeploymentDefinition.SessionStat SESSION_MAX_ALIVE_TIME
-
REJECTED_SESSIONS
public static final DeploymentDefinition.SessionStat REJECTED_SESSIONS
-
MAX_ACTIVE_SESSIONS
public static final DeploymentDefinition.SessionStat MAX_ACTIVE_SESSIONS
-
HIGHEST_SESSION_COUNT
public static final DeploymentDefinition.SessionStat HIGHEST_SESSION_COUNT
-
-
Method Detail
-
values
public static DeploymentDefinition.SessionStat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeploymentDefinition.SessionStat c : DeploymentDefinition.SessionStat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentDefinition.SessionStat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public final String toString()
- Overrides:
toStringin classEnum<DeploymentDefinition.SessionStat>
-
getStat
public static DeploymentDefinition.SessionStat getStat(String stringForm)
-
-