Enum ServerLoadServlets
- java.lang.Object
-
- java.lang.Enum<ServerLoadServlets>
-
- org.jboss.modcluster.demo.client.load.ServerLoadServlets
-
- All Implemented Interfaces:
Serializable
,Comparable<ServerLoadServlets>
public enum ServerLoadServlets extends Enum<ServerLoadServlets>
- Author:
- Brian Stansberry
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_SESSIONS
CONNECTOR_THREAD_USAGE
CPU_USAGE
DATASOURCE_USAGE
HEAP_MEMORY_USAGE
RECEIVE_TRAFFIC_USAGE
REQUEST_COUNT_USAGE
SEND_TRAFFIC_USAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getLabel()
List<ServerLoadParam>
getParams()
String
getServletPath()
String
toString()
static ServerLoadServlets
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServerLoadServlets[]
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 ServerLoadServlets ACTIVE_SESSIONS
-
DATASOURCE_USAGE
public static final ServerLoadServlets DATASOURCE_USAGE
-
CONNECTOR_THREAD_USAGE
public static final ServerLoadServlets CONNECTOR_THREAD_USAGE
-
HEAP_MEMORY_USAGE
public static final ServerLoadServlets HEAP_MEMORY_USAGE
-
CPU_USAGE
public static final ServerLoadServlets CPU_USAGE
-
RECEIVE_TRAFFIC_USAGE
public static final ServerLoadServlets RECEIVE_TRAFFIC_USAGE
-
SEND_TRAFFIC_USAGE
public static final ServerLoadServlets SEND_TRAFFIC_USAGE
-
REQUEST_COUNT_USAGE
public static final ServerLoadServlets REQUEST_COUNT_USAGE
-
-
Method Detail
-
values
public static ServerLoadServlets[] 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 (ServerLoadServlets c : ServerLoadServlets.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerLoadServlets 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
-
getLabel
public String getLabel()
-
getDescription
public String getDescription()
-
getServletPath
public String getServletPath()
-
getParams
public List<ServerLoadParam> getParams()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ServerLoadServlets>
-
-