public abstract class CachedStopwatchSource<L,K> extends CachedMonitorSource<L,Stopwatch,K> implements StopwatchSource<L>
Stopwatch
as monitors.Constructor and Description |
---|
CachedStopwatchSource(StopwatchSource<L> delegate) |
Modifier and Type | Method and Description |
---|---|
Split |
start(L location)
Convenient method to return split for the location or disabled split, if the location is not monitored.
|
getLocationKey, getManager, getMonitor, isMonitored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getManager, getMonitor, isMonitored
public CachedStopwatchSource(StopwatchSource<L> delegate)
public Split start(L location)
StopwatchSource
start
in interface StopwatchSource<L>
location
- location to be monitoredSplit
for the location or {Split#DISABLED} if the location is not monitoredCopyright © 2019. All rights reserved.