Package org.ow2.clif.analyze.statistics
Class AnalyzerImpl
- java.lang.Object
-
- org.ow2.clif.analyze.statistics.AnalyzerImpl
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFR_DATE_PATTERNstatic java.lang.StringLABELstatic booleanVERBOSE-
Fields inherited from interface org.ow2.clif.analyze.statistics.Constants
ACTION_EVENT_CLASS, ACTION_EVENT_TYPE_LABEL, ALARM_EVENT_CLASS, ALARM_EVENT_TYPE_LABEL, BLADE_STATE_COMPLETED_CODE, BLADE_STATE_INITIALIZED_CODE, BLADE_STATE_RUNNING_CODE, BLADE_STATE_STARTING_CODE, BLADE_STATE_STOPPING_CODE, BUFFERED_EVENT_FIELD_LABEL, CACHED_EVENT_FIELD_LABEL, COMMENT_PREFIX, CPU_EVENT_CLASS, CPU_EVENT_FIELD_LABEL, CPU_EVENT_TYPE_LABEL, DATA_POWER_SNMP_EVENT_CLASS, DATA_POWER_SNMP_EVENT_FIELD_LABEL, DEFAULT_ANALYZE_PROPERTY_FILE, DEFAULT_IS_DETAILED_ANALYSIS, DEFAULT_IS_OUTPUT_FILE, DEFAULT_MAX_TIME, DEFAULT_MIN_TIME, DEFAULT_REGEX_CTRL_ACTION, DEFAULT_REPORT_PATH, DEFAULT_RESULT_PATH, DEFAULT_SLICE_SIZE, DEFAULT_STATISTICAL_SORT_FACTOR, DEFAULT_STATISTICAL_SORT_RATIO, DEFAULT_TIME_RANGE_END, DEFAULT_TIME_RANGE_START, DURATION_EVENT_FIELD_LABEL, FREE_MEMORY_EVENT_FIELD_LABEL, FREE_USABLE_MEMORY_EVENT_FIELD_LABEL, GC_ARGUMENT, INJECTOR_FREQUENCY_CLASS_NUMBER, INJECTOR_QUANTILE_CLASS_NUMBER, JVM_EVENT_CLASS, JVM_EVENT_TYPE_LABEL, KERNEL_CPU_EVENT_FIELD_LABEL, LIFECYCLE_EVENT_CLASS, LIFECYCLE_EVENT_TYPE_LABEL, MEMORY_EVENT_CLASS, MEMORY_EVENT_TYPE_LABEL, NETWORK_EVENT_CLASS, NETWORK_EVENT_TYPE_LABEL, PROBE_FREQUENCY_CLASS_NUMBER, RESULT_EVENT_FIELD_LABEL, SUCCESS_EVENT_FIELD_LABEL, USED_MEMORY_EVENT_FIELD_LABEL, USED_RAM_EVENT_FIELD_LABEL, USED_SWAP_EVENT_FIELD_LABEL, USER_CPU_EVENT_FIELD_LABEL
-
-
Constructor Summary
Constructors Constructor Description AnalyzerImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyzeAllTests()voidanalyzeTest(java.lang.String testName)AnalyzerParametersgetAnalyzeParameters()java.lang.StringgetAnalyzeRangeLabel()BladeFiltergetBladeFilter()static java.lang.StringgetFileFromCmdLine(java.lang.String[] args)longgetMaxCommonTime()longgetMinCommonTime()FileStoreReadergetStoreReader()TestFiltergetTestFilter()voidinitBladeFilter()voidinitStoreReader()voidinitTestFilter()static voidmain(java.lang.String[] args)static voidprintUsageOfCmdLine()voidsetAnalyzeParameters(AnalyzerParameters parameters)voidsetAnalyzeRangeLabel(java.lang.String analyzeRangeLabel)voidsetBladeFilter(BladeFilter filter)voidsetMaxCommonTime(long maxTime)voidsetMinCommonTime(long minTime)voidsetStoreReader(FileStoreReader storeReader)voidsetTestFilter(TestFilter filter)
-
-
-
Field Detail
-
VERBOSE
public static final boolean VERBOSE
- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
FR_DATE_PATTERN
public static final java.lang.String FR_DATE_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAnalyzeParameters
public void setAnalyzeParameters(AnalyzerParameters parameters)
-
getAnalyzeParameters
public AnalyzerParameters getAnalyzeParameters()
-
getStoreReader
public FileStoreReader getStoreReader()
-
setStoreReader
public void setStoreReader(FileStoreReader storeReader)
-
setTestFilter
public void setTestFilter(TestFilter filter)
-
getTestFilter
public TestFilter getTestFilter()
-
setBladeFilter
public void setBladeFilter(BladeFilter filter)
-
getBladeFilter
public BladeFilter getBladeFilter()
-
setMinCommonTime
public void setMinCommonTime(long minTime)
-
getMinCommonTime
public long getMinCommonTime()
-
setMaxCommonTime
public void setMaxCommonTime(long maxTime)
-
getMaxCommonTime
public long getMaxCommonTime()
-
setAnalyzeRangeLabel
public void setAnalyzeRangeLabel(java.lang.String analyzeRangeLabel)
-
getAnalyzeRangeLabel
public java.lang.String getAnalyzeRangeLabel()
-
initStoreReader
public void initStoreReader()
-
initTestFilter
public void initTestFilter()
-
initBladeFilter
public void initBladeFilter()
-
analyzeTest
public void analyzeTest(java.lang.String testName) throws ClifException- Parameters:
testName-- Throws:
ClifException
-
analyzeAllTests
public void analyzeAllTests() throws java.lang.Exception- Throws:
java.lang.Exception
-
printUsageOfCmdLine
public static void printUsageOfCmdLine()
-
getFileFromCmdLine
public static java.lang.String getFileFromCmdLine(java.lang.String[] args)
-
main
public static void main(java.lang.String[] args)
- Parameters:
args-
-
-