com.atlassian.jira.instrumentation
Enum InstrumentationName

java.lang.Object
  extended by java.lang.Enum<InstrumentationName>
      extended by com.atlassian.jira.instrumentation.InstrumentationName
All Implemented Interfaces:
Serializable, Comparable<InstrumentationName>

public enum InstrumentationName
extends Enum<InstrumentationName>

An enum of Instrumentation names


Enum Constant Summary
CONCURRENT_USERS
          The number of concurrent users using this instance of JIRA
DB_CONNECTIONS
          This is a OpCounter of database connections taken from the connection pool
DB_CONNECTIONS_BORROWED
          This is a Gauge of database connections borrowed
DB_READS
          This is a OpCounter of database read requests
DB_WRITES
          This is a OpCounter of database write requests
FIVE_HUNDREDS
          The number of 500 IOExceptions that are thrown
HTTP_SESSION_OBJECTS
          The number of http session objects in this instance of JIRA
HTTP_SESSIONS
          The number of http session in this instance of JIRA
ISSUE_INDEX_READS
          This is a OpCounter of issue index read requests
ISSUE_INDEX_WRITES
          This is a OpCounter of issue index write requests
REST_REQUESTS
          This is an OpCounter of REST requests
SOAP_REQUESTS
          This is an OpCounter of SOAP requests
TOTAL_CUSTOMFIELDS
          This indicates the number of custom fields in JIRA
TOTAL_GROUPS
          This indicates the number of groups in JIRA
TOTAL_ISSUES
          This indicates the number of issues in JIRA
TOTAL_PROJECTS
          This indicates the number of projects in JIRA
TOTAL_USERS
          This indicates the number of users in JIRA
TOTAL_WORKFLOWS
          This indicates the number of workflows in JIRA
WEB_REQUESTS
          This is an OpCounter of web requests
XMLRPC_REQUESTS
          This is an OpCounter of XMLRPC requests
 
Method Summary
 String getInstrumentName()
           
static InstrumentationName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InstrumentationName[] 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

WEB_REQUESTS

public static final InstrumentationName WEB_REQUESTS
This is an OpCounter of web requests


SOAP_REQUESTS

public static final InstrumentationName SOAP_REQUESTS
This is an OpCounter of SOAP requests


XMLRPC_REQUESTS

public static final InstrumentationName XMLRPC_REQUESTS
This is an OpCounter of XMLRPC requests


REST_REQUESTS

public static final InstrumentationName REST_REQUESTS
This is an OpCounter of REST requests


DB_READS

public static final InstrumentationName DB_READS
This is a OpCounter of database read requests


DB_WRITES

public static final InstrumentationName DB_WRITES
This is a OpCounter of database write requests


DB_CONNECTIONS

public static final InstrumentationName DB_CONNECTIONS
This is a OpCounter of database connections taken from the connection pool


DB_CONNECTIONS_BORROWED

public static final InstrumentationName DB_CONNECTIONS_BORROWED
This is a Gauge of database connections borrowed


ISSUE_INDEX_READS

public static final InstrumentationName ISSUE_INDEX_READS
This is a OpCounter of issue index read requests


ISSUE_INDEX_WRITES

public static final InstrumentationName ISSUE_INDEX_WRITES
This is a OpCounter of issue index write requests


FIVE_HUNDREDS

public static final InstrumentationName FIVE_HUNDREDS
The number of 500 IOExceptions that are thrown


CONCURRENT_USERS

public static final InstrumentationName CONCURRENT_USERS
The number of concurrent users using this instance of JIRA


HTTP_SESSION_OBJECTS

public static final InstrumentationName HTTP_SESSION_OBJECTS
The number of http session objects in this instance of JIRA


HTTP_SESSIONS

public static final InstrumentationName HTTP_SESSIONS
The number of http session in this instance of JIRA


TOTAL_ISSUES

public static final InstrumentationName TOTAL_ISSUES
This indicates the number of issues in JIRA


TOTAL_PROJECTS

public static final InstrumentationName TOTAL_PROJECTS
This indicates the number of projects in JIRA


TOTAL_CUSTOMFIELDS

public static final InstrumentationName TOTAL_CUSTOMFIELDS
This indicates the number of custom fields in JIRA


TOTAL_WORKFLOWS

public static final InstrumentationName TOTAL_WORKFLOWS
This indicates the number of workflows in JIRA


TOTAL_USERS

public static final InstrumentationName TOTAL_USERS
This indicates the number of users in JIRA


TOTAL_GROUPS

public static final InstrumentationName TOTAL_GROUPS
This indicates the number of groups in JIRA

Method Detail

values

public static InstrumentationName[] 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 (InstrumentationName c : InstrumentationName.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static InstrumentationName 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 name
NullPointerException - if the argument is null

getInstrumentName

public String getInstrumentName()


Copyright © 2002-2012 Atlassian. All Rights Reserved.