public abstract class AbstractReportModule extends Object implements ReportModule
ReportModules, which provides
ReportContext handling and empty implementations of the other
ReportModule methods.| Modifier and Type | Field and Description |
|---|---|
protected ReportContext |
context |
| Constructor and Description |
|---|
AbstractReportModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(String serviceId,
LatencyCounter[] counters,
ExecutionConfig executionConfig,
PerformanceRequirement requirement)
implements backwards-compatibility of inheritors of older versions of
this class
|
void |
completed(String serviceId,
LatencyCounter[] counters,
PerformanceRequirement requirement)
Implements a method which has been removed from the interface but
implemented by children of this class, probably using the Override
annotation, which would cause compiler errors if the method were removed.
|
void |
error(String serviceId) |
String |
getReportReference(String serviceId) |
String |
getReportReferenceLabel(String serviceId) |
void |
invoked(String serviceId,
int latency,
long startTime) |
void |
setContext(ReportContext context) |
void |
starting(String serviceId) |
protected ReportContext context
public void setContext(ReportContext context)
setContext in interface ReportModulepublic String getReportReferenceLabel(String serviceId)
getReportReferenceLabel in interface ReportModulepublic String getReportReference(String serviceId)
getReportReference in interface ReportModulepublic void starting(String serviceId)
starting in interface ReportModulepublic void invoked(String serviceId, int latency, long startTime)
invoked in interface ReportModulepublic void error(String serviceId)
error in interface ReportModulepublic void completed(String serviceId, LatencyCounter[] counters, ExecutionConfig executionConfig, PerformanceRequirement requirement)
completed in interface ReportModulepublic void completed(String serviceId, LatencyCounter[] counters, PerformanceRequirement requirement)
Copyright © 2019. All rights reserved.