org.javasimon.source
Interface StopwatchSource<L>

All Superinterfaces:
MonitorSource<L,Stopwatch>
All Known Implementing Classes:
AbstractMethodStopwatchSource, AbstractStopwatchSource, CachedStopwatchSource, DisabledStopwatchSource, ProxyStopwatchSource

public interface StopwatchSource<L>
extends MonitorSource<L,Stopwatch>

Stopwatch source is source that uses Stopwatch as the monitor type.

Since:
3.4
Author:
Richard "Virgo" Richter

Method Summary
 Split start(L location)
          Convenient method to return split for the location or disabled split, if the location is not monitored.
 
Methods inherited from interface org.javasimon.source.MonitorSource
getManager, getMonitor, isMonitored
 

Method Detail

start

Split start(L location)
Convenient method to return split for the location or disabled split, if the location is not monitored.

Parameters:
location - location to be monitored
Returns:
Split for the location or {Split#DISABLED} if the location is not monitored
Since:
3.4


Copyright © 2013. All Rights Reserved.