Class CpuReportPlugin
- java.lang.Object
-
- org.apache.activemq.tool.reports.plugins.CpuReportPlugin
-
- All Implemented Interfaces:
ReportPlugin
public class CpuReportPlugin extends Object implements ReportPlugin
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Long>
blockRecv
protected List<Long>
blockSent
protected List<Long>
ctxSwitch
protected List<Long>
idleTime
static String
KEY_AVE_BLOCK_RECV
static String
KEY_AVE_BLOCK_SENT
static String
KEY_AVE_CTX_SWITCH
static String
KEY_AVE_IDLE_TIME
static String
KEY_AVE_SYS_TIME
static String
KEY_AVE_USER_TIME
static String
KEY_AVE_WAIT_TIME
static String
KEY_BLOCK_RECV
static String
KEY_BLOCK_SENT
static String
KEY_CTX_SWITCH
static String
KEY_IDLE_TIME
static String
KEY_SYS_TIME
static String
KEY_USER_TIME
static String
KEY_WAIT_TIME
static String
NAME_BLOCK_RECV
static String
NAME_BLOCK_SENT
static String
NAME_CTX_SWITCH
static String
NAME_IDLE_TIME
static String
NAME_IGNORE_LIST
static String
NAME_SYS_TIME
static String
NAME_USER_TIME
static String
NAME_WAIT_TIME
protected List<Long>
sysTime
protected List<Long>
userTime
protected List<Long>
waitTime
-
Constructor Summary
Constructors Constructor Description CpuReportPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addToCpuList(String key, String val)
Map<String,String>
getSummary()
void
handleCsvData(String csvData)
-
-
-
Field Detail
-
NAME_IGNORE_LIST
public static final String NAME_IGNORE_LIST
- See Also:
- Constant Field Values
-
NAME_BLOCK_RECV
public static final String NAME_BLOCK_RECV
- See Also:
- Constant Field Values
-
NAME_BLOCK_SENT
public static final String NAME_BLOCK_SENT
- See Also:
- Constant Field Values
-
NAME_CTX_SWITCH
public static final String NAME_CTX_SWITCH
- See Also:
- Constant Field Values
-
NAME_USER_TIME
public static final String NAME_USER_TIME
- See Also:
- Constant Field Values
-
NAME_SYS_TIME
public static final String NAME_SYS_TIME
- See Also:
- Constant Field Values
-
NAME_IDLE_TIME
public static final String NAME_IDLE_TIME
- See Also:
- Constant Field Values
-
NAME_WAIT_TIME
public static final String NAME_WAIT_TIME
- See Also:
- Constant Field Values
-
KEY_BLOCK_RECV
public static final String KEY_BLOCK_RECV
- See Also:
- Constant Field Values
-
KEY_BLOCK_SENT
public static final String KEY_BLOCK_SENT
- See Also:
- Constant Field Values
-
KEY_CTX_SWITCH
public static final String KEY_CTX_SWITCH
- See Also:
- Constant Field Values
-
KEY_USER_TIME
public static final String KEY_USER_TIME
- See Also:
- Constant Field Values
-
KEY_SYS_TIME
public static final String KEY_SYS_TIME
- See Also:
- Constant Field Values
-
KEY_IDLE_TIME
public static final String KEY_IDLE_TIME
- See Also:
- Constant Field Values
-
KEY_WAIT_TIME
public static final String KEY_WAIT_TIME
- See Also:
- Constant Field Values
-
KEY_AVE_BLOCK_RECV
public static final String KEY_AVE_BLOCK_RECV
- See Also:
- Constant Field Values
-
KEY_AVE_BLOCK_SENT
public static final String KEY_AVE_BLOCK_SENT
- See Also:
- Constant Field Values
-
KEY_AVE_CTX_SWITCH
public static final String KEY_AVE_CTX_SWITCH
- See Also:
- Constant Field Values
-
KEY_AVE_USER_TIME
public static final String KEY_AVE_USER_TIME
- See Also:
- Constant Field Values
-
KEY_AVE_SYS_TIME
public static final String KEY_AVE_SYS_TIME
- See Also:
- Constant Field Values
-
KEY_AVE_IDLE_TIME
public static final String KEY_AVE_IDLE_TIME
- See Also:
- Constant Field Values
-
KEY_AVE_WAIT_TIME
public static final String KEY_AVE_WAIT_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleCsvData
public void handleCsvData(String csvData)
- Specified by:
handleCsvData
in interfaceReportPlugin
-
getSummary
public Map<String,String> getSummary()
- Specified by:
getSummary
in interfaceReportPlugin
-
-