|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hawk.data.perf.HawkPerfDataCollector
public class HawkPerfDataCollector
This collects the perf data from all the modules execution.
Field Summary | |
---|---|
static java.util.List<HawkPerfData> |
all
|
static java.util.Map<java.lang.String,java.util.List<HawkPerfData>> |
moduleMap
|
static java.util.Map<java.lang.String,java.util.List<HawkPerfData>> |
moduleTaskMap
|
Constructor Summary | |
---|---|
HawkPerfDataCollector()
|
Method Summary | |
---|---|
static boolean |
dump()
|
static boolean |
dump(boolean shouldDump)
|
static boolean |
end(IModule module)
This ends perf data collection Note: Here the module's default task "NONE" is considered as subtask. |
static boolean |
end(IModule module,
java.lang.String moduleSubTask)
This ends perf data collection |
static boolean |
endWithFailure(IModule module)
This ends perf data collection for failure case |
static boolean |
endWithFailure(IModule module,
java.lang.String moduleSubTask)
This ends perf data collection for failure case |
static long |
getHawkEndTime()
|
static long |
getHawkStartTime()
|
static java.lang.String |
getPerfDataFilePath()
|
static java.lang.String |
getPerfDataModuleFilePath(java.lang.String module)
|
static boolean |
isEnded()
This indicates whether the current module is ended or not. |
static boolean |
isStarted()
This indicates whether the current module is started or not. |
static void |
main(java.lang.String[] args)
|
static boolean |
perfDataExists()
|
static boolean |
perfDataModuleFilePathExists(java.lang.String module)
|
static boolean |
processPerfData()
|
static java.util.List<HawkPerfData> |
readPerfData()
|
static boolean |
start(IModule module)
This starts perf data collection Note: Here the module's default task "NONE" is considered as subtask. |
static boolean |
start(IModule module,
java.lang.String moduleSubTask)
This starts perf data collection |
static boolean |
writePerfData(java.util.List<HawkPerfData> all,
java.lang.String logFilePath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Map<java.lang.String,java.util.List<HawkPerfData>> moduleMap
public static java.util.Map<java.lang.String,java.util.List<HawkPerfData>> moduleTaskMap
public static java.util.List<HawkPerfData> all
Constructor Detail |
---|
public HawkPerfDataCollector()
Method Detail |
---|
public static boolean isStarted()
public static boolean isEnded()
public static boolean start(IModule module, java.lang.String moduleSubTask)
module
- moduleSubTask
-
public static boolean start(IModule module)
module
-
public static boolean end(IModule module, java.lang.String moduleSubTask)
module
- moduleSubTask
-
public static boolean end(IModule module)
module
-
public static boolean endWithFailure(IModule module, java.lang.String moduleSubTask)
module
- moduleSubTask
-
public static boolean endWithFailure(IModule module)
module
-
public static java.lang.String getPerfDataFilePath()
public static java.lang.String getPerfDataModuleFilePath(java.lang.String module)
public static boolean perfDataModuleFilePathExists(java.lang.String module)
public static boolean perfDataExists()
public static boolean dump()
public static boolean dump(boolean shouldDump)
public static boolean writePerfData(java.util.List<HawkPerfData> all, java.lang.String logFilePath)
public static java.util.List<HawkPerfData> readPerfData() throws HawkException
HawkException
public static void main(java.lang.String[] args)
public static long getHawkStartTime()
public static long getHawkEndTime()
public static boolean processPerfData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |