public class GeolocationReporter extends AbstractReporter
IterationsPerSecondReporter
does.Constructor and Description |
---|
GeolocationReporter() |
Modifier and Type | Method and Description |
---|---|
String |
getServiceUrl()
Gets the URL of the service used to obtain the location.
|
void |
publishResult(PeriodType periodType,
Destination destination)
Publishes results to the destination.
|
GeolocationReporter |
setServiceUrl(String serviceUrl)
Sets the URL of the service used to obtain the location.
|
getDestinations, getReportingPeriods, newMeasurement, registerDestination, registerDestination, report, reset, setReportManager, setRunInfo, start, stop, unregisterDestination
public void publishResult(PeriodType periodType, Destination destination) throws ReportingException
Reporter
periodType
- A period type that caused the invocation of this method.destination
- A destination to which the result should be reported.ReportingException
- When it was not possible to publish results to the given destination.public String getServiceUrl()
public GeolocationReporter setServiceUrl(String serviceUrl)
serviceUrl
- The URL of the service used to obtain the location.Copyright © 2010–2017 PerfCake Community. All rights reserved.