|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.adaptc.mws.plugins.PluginConstants
public class PluginConstants extends Object
This class contains constant values that can be used for reporting resources (i.e. any field that starts with "RESOURCE_" or "METRIC") and custom web services (i.e. WEB_SERVICES_METHOD.
Field Summary | |
---|---|
static List |
KNOWN_METRICS
A list of known metric names. |
static List |
KNOWN_RESOURCES
A list of known resource names. |
static String |
LOGGER_PREFIX
The prefix (including the period) used for all loggers configured for plugin types and translators. |
static String |
METRIC_CPULOAD
The CPU load metric name. |
static String |
METRIC_CPU_UTILIZATION
The CPU utilization metric name. |
static String |
METRIC_SPEED
The CPU speed metric name. |
static String |
METRIC_VM_COUNT
The VM count metric name. |
static String |
RESOURCE_DISK
The disk resource name. |
static String |
RESOURCE_MEMORY
The memory resource name. |
static String |
RESOURCE_PROCESSORS
The processors resource name. |
static String |
RESOURCE_SWAP
The swap memory resource name. |
static SimpleDateFormat |
STANDARD_DATE_FORMAT
The standard date format to be used when communicating with Moab Web Services. |
private static String |
STANDARD_DATE_FORMAT_STRING
The standard date format String to be used when communicating with Moab Web Services. |
static String |
WEB_SERVICES_METHOD
The key to the map entry for the single custom web services' argument containing the current HTTP method. |
Constructor Summary | |
PluginConstants()
|
Method Summary |
---|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
public static final List KNOWN_METRICS
public static final List KNOWN_RESOURCES
public static final String LOGGER_PREFIX
Log log = LogFactory.getLog(LOGGER_PREFIX+test.MyClass.name)
will result in
a logger called "plugins.test.MyClass".
public static final String METRIC_CPULOAD
public static final String METRIC_CPU_UTILIZATION
public static final String METRIC_SPEED
public static final String METRIC_VM_COUNT
public static final String RESOURCE_DISK
public static final String RESOURCE_MEMORY
public static final String RESOURCE_PROCESSORS
public static final String RESOURCE_SWAP
public static final SimpleDateFormat STANDARD_DATE_FORMAT
Date date = STANDARD_DATE_FORMAT.parse("2012-01-01 23:11:24 MDT")
private static final String STANDARD_DATE_FORMAT_STRING
public static final String WEB_SERVICES_METHOD
Constructor Detail |
---|
PluginConstants()
Groovy Documentation