Class TimeStampKeysSelector
java.lang.Object
org.apache.jmeter.report.processor.graph.TimeStampKeysSelector
- All Implemented Interfaces:
SampleSelector<Double>
,GraphKeysSelector
The class TimeStampKeysSelector provides a projection from a sample to its
begin or end time.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the granularity.Do the projection from the specified samplefinal boolean
Gets a status defining whether the projection is done with the begin or end time of the sample.void
setGranularity
(long granularity) Sets the granularity.final void
setSelectBeginTime
(boolean selectBeginTime) Sets the status defining whether the projection is done with the begin or end time of the sample.
-
Constructor Details
-
TimeStampKeysSelector
public TimeStampKeysSelector()
-
-
Method Details
-
getGranularity
public long getGranularity()Gets the granularity.- Returns:
- the granularity
-
setGranularity
public void setGranularity(long granularity) Sets the granularity.- Parameters:
granularity
- the granularity to set
-
selectsBeginTime
public final boolean selectsBeginTime()Gets a status defining whether the projection is done with the begin or end time of the sample.- Returns:
- true if the begin time is used; false otherwise.
-
setSelectBeginTime
public final void setSelectBeginTime(boolean selectBeginTime) Sets the status defining whether the projection is done with the begin or end time of the sample.- Parameters:
selectBeginTime
- the status to set
-
select
Description copied from interface:SampleSelector
Do the projection from the specified sample- Specified by:
select
in interfaceSampleSelector<Double>
- Parameters:
sample
- the sample- Returns:
- the projection result
-