Public Member Functions | |
OrbProfilerParser (Logger logger) | |
List< ProfilerMessage > | parse (File stdoutLogFile) throws IOException |
Protected Member Functions | |
ProfilerMessage | parseLine (String line) |
Parser for output from ORBRequestTimer and also for additional profiler output to be generated in the future.
alma.acs.profiling.orb.OrbProfilerParser.OrbProfilerParser | ( | Logger | logger | ) |
logger | ||
stdoutLogFile | throws IllegalArgumentException if stdoutLogFile is missing or cannot be read. |
List<ProfilerMessage> alma.acs.profiling.orb.OrbProfilerParser.parse | ( | File | stdoutLogFile | ) | throws IOException |
Parses the given file and returns the profiler messages extracted from the file as a list for further processing.
References alma.acs.util.StopWatch.getLapTimeMillis(), and alma.acs.profiling.orb.OrbProfilerParser.parseLine().
Referenced by alma.acs.profiling.orb.OrbProfilerStatistics.main().
ProfilerMessage alma.acs.profiling.orb.OrbProfilerParser.parseLine | ( | String | line | ) | [protected] |
Parses a line of orb profiler stdout output. Returns a ProfilerMessage instance if the line could be parsed, null
otherwise.
References alma.acs.profiling.orb.ProfilerMessage.operation, alma.acs.profiling.orb.ProfilerMessage.poaName, alma.acs.profiling.orb.ProfilerMessage.requestId, alma.acs.profiling.orb.ProfilerMessage.timeElapsedMillis, and alma.acs.profiling.orb.ProfilerMessage.timestamp.
Referenced by alma.acs.profiling.orb.OrbProfilerParser.parse().