public class PerformanceTracker extends InvokerProxy
target| Constructor and Description |
|---|
PerformanceTracker(Invoker target,
ExecutionConfig executionConfig,
PerformanceRequirement requirement,
ReportContext context,
Clock[] clocks) |
PerformanceTracker(Invoker target,
PerformanceRequirement requirement,
ReportContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
LatencyCounter[] |
getCounters() |
Object |
invoke(Object[] args) |
boolean |
isTrackingStarted() |
void |
setContext(ReportContext context) |
void |
startTracking() |
void |
stopTracking() |
getIdpublic PerformanceTracker(Invoker target, PerformanceRequirement requirement, ReportContext context)
public PerformanceTracker(Invoker target, ExecutionConfig executionConfig, PerformanceRequirement requirement, ReportContext context, Clock[] clocks)
public void setContext(ReportContext context)
public LatencyCounter[] getCounters()
public void startTracking()
public Object invoke(Object[] args) throws Exception
invoke in interface Invokerinvoke in class InvokerProxyExceptionpublic boolean isTrackingStarted()
public void stopTracking()
public void clear()
Copyright © 2019. All rights reserved.