public class ProxyStopwatchSource<T> extends AbstractMethodStopwatchSource<DelegatingMethodInvocation<T>>
| Constructor and Description |
|---|
ProxyStopwatchSource() |
ProxyStopwatchSource(Manager manager) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getMonitorName(DelegatingMethodInvocation<T> location)
Get monitor name for the given location.
|
String |
getPrefix() |
protected Class<?> |
getTargetClass(DelegatingMethodInvocation<T> location)
Get target class from location.
|
protected Method |
getTargetMethod(DelegatingMethodInvocation<T> location)
Get target method from location.
|
void |
setPrefix(String prefix) |
cachegetManager, getMonitor, isMonitored, startpublic ProxyStopwatchSource()
public ProxyStopwatchSource(Manager manager)
protected String getMonitorName(DelegatingMethodInvocation<T> location)
AbstractStopwatchSourcegetMonitorName in class AbstractStopwatchSource<DelegatingMethodInvocation<T>>protected final Class<?> getTargetClass(DelegatingMethodInvocation<T> location)
AbstractMethodStopwatchSourcegetTargetClass in class AbstractMethodStopwatchSource<DelegatingMethodInvocation<T>>location - Locationprotected final Method getTargetMethod(DelegatingMethodInvocation<T> location)
AbstractMethodStopwatchSourcegetTargetMethod in class AbstractMethodStopwatchSource<DelegatingMethodInvocation<T>>location - LocationCopyright © 2019. All rights reserved.