Enum BasicMonitoringAttributes
- java.lang.Object
-
- java.lang.Enum<BasicMonitoringAttributes>
-
- org.opends.guitools.controlpanel.datamodel.BasicMonitoringAttributes
-
- All Implemented Interfaces:
Serializable,Comparable<BasicMonitoringAttributes>,MonitoringAttributes
public enum BasicMonitoringAttributes extends Enum<BasicMonitoringAttributes> implements MonitoringAttributes
The enumeration containing the different monitoring attributes that can be displayed in the monitoring panels.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_REQUESTSAdd Request.ADD_RESPONSESAdd Responses.AVAILABLE_CPUSAvailable CPUs.AVERAGE_REQUEST_BACKLOGAverage Request Backlog.BIND_REQUESTSBind Request.BIND_RESPONSESBind Responses.CLASS_PATHClass path.COMPARE_REQUESTSCompare Requests.COMPARE_RESPONSESCompare Responses.CURRENT_CONNECTIONSCurrent Connections.CURRENT_DATECurrent Date.CURRENT_ENTRY_CACHE_COUNTCurrent entry cache count.CURRENT_ENTRY_CACHE_SIZEEntry cache current size.CURRENT_REQUEST_BACKLOGCurrent Request Backlog.DELETE_REQUESTSDelete Request.DELETE_RESPONSESDelete Responses.ENTRY_CACHE_HIT_RATIOEntry cache hit ratio.ENTRY_CACHE_HITSEntry cache Hits.ENTRY_CACHE_TRIESEntry cache tries.EXTENDED_REQUESTSExtended Request.EXTENDED_RESPONSESExtended Responses.FREE_USED_MEMORYFree used memory.JAVA_VENDORJava Vendor.JAVA_VERSIONJava Version.JVM_ARCHITECTUREJVM Architecture.JVM_ARGUMENTSJVM Arguments.JVM_VENDORJVM Vendor.JVM_VERSIONJVM Version.MAX_CONNECTIONSMaximum Connections.MAX_ENTRY_CACHE_COUNTEntry cache max count.MAX_ENTRY_CACHE_SIZEEntry cache max size.MAX_MEMORYMax memory.MAX_REQUEST_BACKLOGMax Request Backlog.MOD_DN_REQUESTSModify DN Request.MOD_DN_RESPONSESModify DN Responses.MOD_REQUESTSModify Request.MOD_RESPONSESModify Responses.OPERATING_SYSTEMOperating System.REQUESTS_REJECTEDRequests rejected.REQUESTS_SUBMITTEDRequests submitted.SEARCH_DONESearches Done.SEARCH_REQUESTSSearch Request.START_DATEStart Date.SYSTEM_NAMESystem Name.TOTAL_CONNECTIONSTotal Connections.UNBIND_REQUESTSUnbind Request.USED_MEMORYUsed memory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHaveAverage()Returnstrueif the average for this attribute makes sense andfalseotherwise.StringgetAttributeName()Returns the name of the attribute.org.forgerock.i18n.LocalizableMessagegetMessage()Returns the message associated with the attribute (basically is the localized name of the operation associated with the attribute).booleanisGMTDate()Return whether this attribute contains a GMT date value or not.booleanisNumeric()Return whether this attribute contains a numeric value or not.booleanisNumericDate()Return whether this attribute contains a numeric date value or not.booleanisTime()Return whether this attribute contains a time value or not.booleanisValueInBytes()Return whether this attribute represents a value in bytes or not.static BasicMonitoringAttributesvalueOf(String name)Returns the enum constant of this type with the specified name.static BasicMonitoringAttributes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_DATE
public static final BasicMonitoringAttributes START_DATE
Start Date.
-
CURRENT_DATE
public static final BasicMonitoringAttributes CURRENT_DATE
Current Date.
-
CURRENT_CONNECTIONS
public static final BasicMonitoringAttributes CURRENT_CONNECTIONS
Current Connections.
-
MAX_CONNECTIONS
public static final BasicMonitoringAttributes MAX_CONNECTIONS
Maximum Connections.
-
TOTAL_CONNECTIONS
public static final BasicMonitoringAttributes TOTAL_CONNECTIONS
Total Connections.
-
AVERAGE_REQUEST_BACKLOG
public static final BasicMonitoringAttributes AVERAGE_REQUEST_BACKLOG
Average Request Backlog.
-
MAX_REQUEST_BACKLOG
public static final BasicMonitoringAttributes MAX_REQUEST_BACKLOG
Max Request Backlog.
-
CURRENT_REQUEST_BACKLOG
public static final BasicMonitoringAttributes CURRENT_REQUEST_BACKLOG
Current Request Backlog.
-
REQUESTS_SUBMITTED
public static final BasicMonitoringAttributes REQUESTS_SUBMITTED
Requests submitted.
-
REQUESTS_REJECTED
public static final BasicMonitoringAttributes REQUESTS_REJECTED
Requests rejected.
-
ENTRY_CACHE_HITS
public static final BasicMonitoringAttributes ENTRY_CACHE_HITS
Entry cache Hits.
-
CURRENT_ENTRY_CACHE_COUNT
public static final BasicMonitoringAttributes CURRENT_ENTRY_CACHE_COUNT
Current entry cache count.
-
ENTRY_CACHE_TRIES
public static final BasicMonitoringAttributes ENTRY_CACHE_TRIES
Entry cache tries.
-
ENTRY_CACHE_HIT_RATIO
public static final BasicMonitoringAttributes ENTRY_CACHE_HIT_RATIO
Entry cache hit ratio.
-
CURRENT_ENTRY_CACHE_SIZE
public static final BasicMonitoringAttributes CURRENT_ENTRY_CACHE_SIZE
Entry cache current size.
-
MAX_ENTRY_CACHE_SIZE
public static final BasicMonitoringAttributes MAX_ENTRY_CACHE_SIZE
Entry cache max size.
-
MAX_ENTRY_CACHE_COUNT
public static final BasicMonitoringAttributes MAX_ENTRY_CACHE_COUNT
Entry cache max count.
-
AVAILABLE_CPUS
public static final BasicMonitoringAttributes AVAILABLE_CPUS
Available CPUs.
-
SYSTEM_NAME
public static final BasicMonitoringAttributes SYSTEM_NAME
System Name.
-
OPERATING_SYSTEM
public static final BasicMonitoringAttributes OPERATING_SYSTEM
Operating System.
-
FREE_USED_MEMORY
public static final BasicMonitoringAttributes FREE_USED_MEMORY
Free used memory.
-
MAX_MEMORY
public static final BasicMonitoringAttributes MAX_MEMORY
Max memory.
-
USED_MEMORY
public static final BasicMonitoringAttributes USED_MEMORY
Used memory.
-
CLASS_PATH
public static final BasicMonitoringAttributes CLASS_PATH
Class path.
-
JAVA_VENDOR
public static final BasicMonitoringAttributes JAVA_VENDOR
Java Vendor.
-
JVM_VENDOR
public static final BasicMonitoringAttributes JVM_VENDOR
JVM Vendor.
-
JAVA_VERSION
public static final BasicMonitoringAttributes JAVA_VERSION
Java Version.
-
JVM_VERSION
public static final BasicMonitoringAttributes JVM_VERSION
JVM Version.
-
JVM_ARCHITECTURE
public static final BasicMonitoringAttributes JVM_ARCHITECTURE
JVM Architecture.
-
JVM_ARGUMENTS
public static final BasicMonitoringAttributes JVM_ARGUMENTS
JVM Arguments.
-
ADD_REQUESTS
public static final BasicMonitoringAttributes ADD_REQUESTS
Add Request.
-
ADD_RESPONSES
public static final BasicMonitoringAttributes ADD_RESPONSES
Add Responses.
-
BIND_REQUESTS
public static final BasicMonitoringAttributes BIND_REQUESTS
Bind Request.
-
BIND_RESPONSES
public static final BasicMonitoringAttributes BIND_RESPONSES
Bind Responses.
-
COMPARE_REQUESTS
public static final BasicMonitoringAttributes COMPARE_REQUESTS
Compare Requests.
-
COMPARE_RESPONSES
public static final BasicMonitoringAttributes COMPARE_RESPONSES
Compare Responses.
-
DELETE_REQUESTS
public static final BasicMonitoringAttributes DELETE_REQUESTS
Delete Request.
-
DELETE_RESPONSES
public static final BasicMonitoringAttributes DELETE_RESPONSES
Delete Responses.
-
EXTENDED_REQUESTS
public static final BasicMonitoringAttributes EXTENDED_REQUESTS
Extended Request.
-
EXTENDED_RESPONSES
public static final BasicMonitoringAttributes EXTENDED_RESPONSES
Extended Responses.
-
MOD_DN_REQUESTS
public static final BasicMonitoringAttributes MOD_DN_REQUESTS
Modify DN Request.
-
MOD_DN_RESPONSES
public static final BasicMonitoringAttributes MOD_DN_RESPONSES
Modify DN Responses.
-
MOD_REQUESTS
public static final BasicMonitoringAttributes MOD_REQUESTS
Modify Request.
-
MOD_RESPONSES
public static final BasicMonitoringAttributes MOD_RESPONSES
Modify Responses.
-
SEARCH_REQUESTS
public static final BasicMonitoringAttributes SEARCH_REQUESTS
Search Request.
-
SEARCH_DONE
public static final BasicMonitoringAttributes SEARCH_DONE
Searches Done.
-
UNBIND_REQUESTS
public static final BasicMonitoringAttributes UNBIND_REQUESTS
Unbind Request.
-
-
Method Detail
-
values
public static BasicMonitoringAttributes[] 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 (BasicMonitoringAttributes c : BasicMonitoringAttributes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicMonitoringAttributes 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
-
getMessage
public org.forgerock.i18n.LocalizableMessage getMessage()
Description copied from interface:MonitoringAttributesReturns the message associated with the attribute (basically is the localized name of the operation associated with the attribute).- Specified by:
getMessagein interfaceMonitoringAttributes- Returns:
- the message associated with the attribute.
-
getAttributeName
public String getAttributeName()
Description copied from interface:MonitoringAttributesReturns the name of the attribute.- Specified by:
getAttributeNamein interfaceMonitoringAttributes- Returns:
- the name of the attribute.
-
isNumeric
public boolean isNumeric()
Description copied from interface:MonitoringAttributesReturn whether this attribute contains a numeric value or not.- Specified by:
isNumericin interfaceMonitoringAttributes- Returns:
trueif the value is numeric andfalseotherwise.
-
isTime
public boolean isTime()
Description copied from interface:MonitoringAttributesReturn whether this attribute contains a time value or not.- Specified by:
isTimein interfaceMonitoringAttributes- Returns:
trueif the value is a time andfalseotherwise.
-
isGMTDate
public boolean isGMTDate()
Description copied from interface:MonitoringAttributesReturn whether this attribute contains a GMT date value or not. The date has a format of type ServerConstants.DATE_FORMAT_GMT_TIME.- Specified by:
isGMTDatein interfaceMonitoringAttributes- Returns:
trueif the value is a GMT date andfalseotherwise.
-
isValueInBytes
public boolean isValueInBytes()
Description copied from interface:MonitoringAttributesReturn whether this attribute represents a value in bytes or not.- Specified by:
isValueInBytesin interfaceMonitoringAttributes- Returns:
trueif the value represents a value in bytes andfalseotherwise.
-
canHaveAverage
public boolean canHaveAverage()
Description copied from interface:MonitoringAttributesReturnstrueif the average for this attribute makes sense andfalseotherwise.- Specified by:
canHaveAveragein interfaceMonitoringAttributes- Returns:
trueif the average for this attribute makes sense andfalseotherwise.
-
isNumericDate
public boolean isNumericDate()
Description copied from interface:MonitoringAttributesReturn whether this attribute contains a numeric date value or not. The date is a long value in milliseconds.- Specified by:
isNumericDatein interfaceMonitoringAttributes- Returns:
trueif the value is date andfalseotherwise.
-
-