Package org.ow2.clif.analyze.statistics
Class AnalyzerParameters
- java.lang.Object
-
- org.ow2.clif.analyze.statistics.AnalyzerParameters
-
-
Field Summary
-
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 AnalyzerParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAnalyzePropFileName()input of analyze parametersjava.lang.StringgetAnalyzeRangeLabel()in order to display time range to be analyzedjava.util.Set<java.lang.String>getBladeIdFilter()java.util.Set<java.lang.String>getEventTypeFilter()doublegetInjectorStatSortFactor()doublegetInjectorStatSortRatio()doublegetProbeStatSortFactor()doublegetProbeStatSortRatio()java.lang.StringgetRegexCtrl()java.lang.StringgetReportPath()java.lang.StringgetResultFilePath()longgetSliceSize()java.lang.StringgetTestNameFilter()longgetTimeEnd()longgetTimeStart()booleanisDetailedAnalysis()booleanisOutputFile()voidloadParameters()load default analyze parametersvoidloadParameters(java.lang.String fileName)load analyze parameters from property filevoidloadParameters(java.util.Properties props)load analyze parameters from propertiesvoidsetAnalyzePropFileName(java.lang.String analyzePropFile)input of analyze parametersvoidsetBladeIdFilter(java.util.Set<java.lang.String> ids)voidsetEventTypeFilter(java.util.Set<java.lang.String> eventTypes)voidsetInjectorStatSortFactor(double injectorStatSortFactor)voidsetInjectorStatSortRatio(double injectorStatSortRatio)voidsetIsDetailedAnalysis(boolean detailedAnalysis)voidsetIsOutputFile(boolean isOutputFile)voidsetProbeStatSortFactor(double probeStatSortFactor)voidsetProbeStatSortRatio(double probeStatSortRatio)voidsetRegexCtrl(java.lang.String regexCtrl)voidsetReportPath(java.lang.String path)voidsetResultFilePath(java.lang.String resultFilePath)voidsetSliceSize(long size)voidsetTestNameFilter(java.lang.String id)voidsetTimeEnd(long time)voidsetTimeStart(long time)java.lang.StringtoString()
-
-
-
Method Detail
-
setAnalyzePropFileName
public void setAnalyzePropFileName(java.lang.String analyzePropFile)
input of analyze parameters
-
getAnalyzePropFileName
public java.lang.String getAnalyzePropFileName()
input of analyze parameters
-
setReportPath
public void setReportPath(java.lang.String path)
-
getReportPath
public java.lang.String getReportPath()
-
setTestNameFilter
public void setTestNameFilter(java.lang.String id)
-
getTestNameFilter
public java.lang.String getTestNameFilter()
-
setBladeIdFilter
public void setBladeIdFilter(java.util.Set<java.lang.String> ids)
-
getBladeIdFilter
public java.util.Set<java.lang.String> getBladeIdFilter()
-
setEventTypeFilter
public void setEventTypeFilter(java.util.Set<java.lang.String> eventTypes)
-
getEventTypeFilter
public java.util.Set<java.lang.String> getEventTypeFilter()
-
setRegexCtrl
public void setRegexCtrl(java.lang.String regexCtrl)
-
getRegexCtrl
public java.lang.String getRegexCtrl()
-
setTimeStart
public void setTimeStart(long time)
-
getTimeStart
public long getTimeStart()
-
setTimeEnd
public void setTimeEnd(long time)
-
getTimeEnd
public long getTimeEnd()
-
setInjectorStatSortFactor
public void setInjectorStatSortFactor(double injectorStatSortFactor)
-
getInjectorStatSortFactor
public double getInjectorStatSortFactor()
-
setInjectorStatSortRatio
public void setInjectorStatSortRatio(double injectorStatSortRatio)
-
getInjectorStatSortRatio
public double getInjectorStatSortRatio()
-
setProbeStatSortFactor
public void setProbeStatSortFactor(double probeStatSortFactor)
-
getProbeStatSortFactor
public double getProbeStatSortFactor()
-
setProbeStatSortRatio
public void setProbeStatSortRatio(double probeStatSortRatio)
-
getProbeStatSortRatio
public double getProbeStatSortRatio()
-
setIsDetailedAnalysis
public void setIsDetailedAnalysis(boolean detailedAnalysis)
-
isDetailedAnalysis
public boolean isDetailedAnalysis()
-
setSliceSize
public void setSliceSize(long size)
-
getSliceSize
public long getSliceSize()
-
setIsOutputFile
public void setIsOutputFile(boolean isOutputFile)
-
isOutputFile
public boolean isOutputFile()
-
setResultFilePath
public void setResultFilePath(java.lang.String resultFilePath)
-
getResultFilePath
public java.lang.String getResultFilePath()
-
loadParameters
public void loadParameters(java.util.Properties props) throws java.lang.Exceptionload analyze parameters from properties- Throws:
java.lang.Exception
-
loadParameters
public void loadParameters(java.lang.String fileName) throws java.lang.Exceptionload analyze parameters from property file- Throws:
java.lang.Exception
-
loadParameters
public void loadParameters() throws java.lang.Exceptionload default analyze parameters- Throws:
java.lang.Exception
-
getAnalyzeRangeLabel
public java.lang.String getAnalyzeRangeLabel()
in order to display time range to be analyzed
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-