public class QueryExecutionMeasurements extends Object
Constructor and Description |
---|
QueryExecutionMeasurements() |
Modifier and Type | Method and Description |
---|---|
void |
addBuildRequestDuration(org.joda.time.Duration duration)
Increase a build request duration by a given value.
|
void |
addExecuteRequestDuration(org.joda.time.Duration duration)
Increase a query execution duration by a given value.
|
void |
addParseResponseDuration(org.joda.time.Duration duration)
Increase a parse response duration by a given value.
|
Long |
getBeginTotal() |
org.joda.time.Duration |
getBuildRequestDuration() |
Long |
getEndTotal() |
org.joda.time.Duration |
getExecuteRequestDuration() |
String |
getMeasurementsString()
Get all query measurements serialized as a
String . |
org.joda.time.Duration |
getParseResponseDuration() |
void |
resetMeasurements()
Remove all current measurements for a query.
|
void |
setBeginTotal(Long beginTotal) |
void |
setEndTotal(Long endTotal) |
public void addBuildRequestDuration(org.joda.time.Duration duration)
public void addExecuteRequestDuration(org.joda.time.Duration duration)
public void addParseResponseDuration(org.joda.time.Duration duration)
public void resetMeasurements()
public String getMeasurementsString()
String
.@Nullable @Generated(value="lombok") public Long getBeginTotal()
@Nullable @Generated(value="lombok") public Long getEndTotal()
@Nullable @Generated(value="lombok") public org.joda.time.Duration getBuildRequestDuration()
@Nullable @Generated(value="lombok") public org.joda.time.Duration getExecuteRequestDuration()
@Nullable @Generated(value="lombok") public org.joda.time.Duration getParseResponseDuration()
@Generated(value="lombok") public void setBeginTotal(@Nullable Long beginTotal)
@Generated(value="lombok") public void setEndTotal(@Nullable Long endTotal)
Copyright © 2017 SAP SE. All rights reserved.