|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StopWatch | |
|---|---|
| com.ecyrd.speed4j | |
| com.ecyrd.speed4j.log | |
| Uses of StopWatch in com.ecyrd.speed4j |
|---|
| Subclasses of StopWatch in com.ecyrd.speed4j | |
|---|---|
class |
LoggingStopWatch
A version of StopWatch which outputs the result upon stop() to the internal Log. |
| Methods in com.ecyrd.speed4j that return StopWatch | |
|---|---|
StopWatch |
StopWatch.freeze()
Returns a cloned, freezed copy of the StopWatch. |
StopWatch |
StopWatchFactory.getStopWatch()
Return a StopWatch for an empty tag and empty message. |
StopWatch |
StopWatchFactory.getStopWatch(String tag)
Returns a StopWatch for the given tag and null message. |
StopWatch |
StopWatchFactory.getStopWatch(String tag,
String message)
Returns a StopWatch for the given tag and given message. |
StopWatch |
StopWatch.lap()
Stops and starts the StopWatch, essentially resetting it. |
StopWatch |
StopWatch.start()
Starts a StopWatch which has been previously stopped. |
StopWatch |
StopWatch.stop()
Stops the StopWatch. |
StopWatch |
StopWatch.stop(String tag)
Stops the StopWatch and assigns the given tag to it. |
StopWatch |
StopWatch.stop(String tag,
String message)
Stops the StopWatch, assigns the tag and a free-form message. |
| Uses of StopWatch in com.ecyrd.speed4j.log |
|---|
| Methods in com.ecyrd.speed4j.log with parameters of type StopWatch | |
|---|---|
void |
CollectedStatistics.add(StopWatch sw)
Add a StopWatch to the statistics. |
void |
Slf4jLog.log(StopWatch sw)
Logs using the INFO priority. |
void |
PeriodicalLog.log(StopWatch sw)
|
abstract void |
Log.log(StopWatch sw)
Logs the given StopWatch. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||