public abstract class AbstractMethodStopwatchSource<T> extends AbstractStopwatchSource<T>
Constructor and Description |
---|
AbstractMethodStopwatchSource(Manager manager)
Constructor using specific simon manager.
|
Modifier and Type | Method and Description |
---|---|
CachedStopwatchSource<T,Method> |
cache()
Wraps this data source in a cache.
|
protected abstract Class<?> |
getTargetClass(T location)
Get target class from location.
|
protected abstract Method |
getTargetMethod(T location)
Get target method from location.
|
getManager, getMonitor, getMonitorName, isMonitored, start
public AbstractMethodStopwatchSource(Manager manager)
manager
- Simon managerprotected abstract Class<?> getTargetClass(T location)
location
- Locationprotected abstract Method getTargetMethod(T location)
location
- Locationpublic CachedStopwatchSource<T,Method> cache()
Copyright © 2019. All rights reserved.