org.javasimon.javaee.reqreporter
Class StandardRequestReporter
java.lang.Object
org.javasimon.javaee.reqreporter.DefaultRequestReporter
org.javasimon.javaee.reqreporter.StandardRequestReporter
- All Implemented Interfaces:
- RequestReporter
public class StandardRequestReporter
- extends DefaultRequestReporter
Reports request to standard output (instead of Manager's message method) and omits less specific Simons from
output (for instance JDBC's next).
- Author:
- Richard "Virgo" Richter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardRequestReporter
public StandardRequestReporter()
reportMessage
protected void reportMessage(String message)
- Description copied from class:
DefaultRequestReporter
- Reports the prepared message through the method
Manager.message(String) - can be overridden
to emit the message to log/console/etc.
- Overrides:
reportMessage in class DefaultRequestReporter
- Parameters:
message - prepared message with report
shouldBeAddedStopwatchInfo
protected boolean shouldBeAddedStopwatchInfo(DefaultRequestReporter.StopwatchInfo info)
- Description copied from class:
DefaultRequestReporter
- Decides whether stopwatch info should be included in the report - by default all are included.
- Overrides:
shouldBeAddedStopwatchInfo in class DefaultRequestReporter
- Parameters:
info - stopwatch info contains list of all splits, max split and total time of splits for the reported request
- Returns:
- true, if the stopatch info should be reported
Copyright © 2014. All rights reserved.