org.ow2.clif.analyze.statistics
Class InjectorAnalyst
java.lang.Object
org.ow2.clif.analyze.statistics.AbstractAnalyst
org.ow2.clif.analyze.statistics.InjectorAnalyst
- All Implemented Interfaces:
- Constants
public class InjectorAnalyst
- extends AbstractAnalyst
Analyze one or more CLIF injectors: first of all, agglomerate action blades ;
check success of any action ; compute data in order to get statistical stuff
- Author:
- Guy Vachet
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 |
Methods inherited from class org.ow2.clif.analyze.statistics.AbstractAnalyst |
addBladeData, getBladeIdentifiers, getLabel, getProfilingStatistics, getStatSortFactor, getStatSortRatio, isEmpty, removeBladeData, setLabel, setStatSortFactor, setStatSortRatio |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_LABEL
public static final java.lang.String TYPE_LABEL
- See Also:
- Constant Field Values
FIELD_LABEL
public static final java.lang.String FIELD_LABEL
- See Also:
- Constant Field Values
CTRL_FIELD
public static final java.lang.String CTRL_FIELD
- See Also:
- Constant Field Values
RESULT_FIELD
public static final java.lang.String RESULT_FIELD
- See Also:
- Constant Field Values
InjectorAnalyst
public InjectorAnalyst()
- default constructor
InjectorAnalyst
public InjectorAnalyst(java.lang.String analyzeRange)
addProfilingData
public void addProfilingData(BladeStoreReader reader,
EventFilter filter)
throws ClifException
- Specified by:
addProfilingData
in class AbstractAnalyst
- Throws:
ClifException
setRegexCtrl
public void setRegexCtrl(java.lang.String regexCtrl)
getRegexCtrl
public java.lang.String getRegexCtrl()
flattenProfilingStatistics
public AbstractAnalyst.ProfilingStatistics flattenProfilingStatistics()
- join profiling data from several CLIF injectors
- Returns:
- flattened data sorted by date
checkProfilingData
public void checkProfilingData(AbstractAnalyst.ProfilingStatistics profilingStat)
- keep data that has not raised an CLIF error during load injection
outputHistoryOfActionResults
public void outputHistoryOfActionResults(AbstractAnalyst.ProfilingStatistics profStat,
LongStatistics durations,
long sliceSize)
outputAnalysis
public void outputAnalysis(boolean isDetailed,
long sliceSize)
- Specified by:
outputAnalysis
in class AbstractAnalyst
- Parameters:
isDetailed
- if true display more analysissliceSize
- size of elapsed time in order to analyze sub-population