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) |
cache
getManager, getMonitor, isMonitored, start
public ProxyStopwatchSource()
public ProxyStopwatchSource(Manager manager)
protected String getMonitorName(DelegatingMethodInvocation<T> location)
AbstractStopwatchSource
getMonitorName
in class AbstractStopwatchSource<DelegatingMethodInvocation<T>>
protected final Class<?> getTargetClass(DelegatingMethodInvocation<T> location)
AbstractMethodStopwatchSource
getTargetClass
in class AbstractMethodStopwatchSource<DelegatingMethodInvocation<T>>
location
- Locationprotected final Method getTargetMethod(DelegatingMethodInvocation<T> location)
AbstractMethodStopwatchSource
getTargetMethod
in class AbstractMethodStopwatchSource<DelegatingMethodInvocation<T>>
location
- LocationCopyright © 2019. All rights reserved.