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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the granularity.Do the projection from the specified samplefinal booleanGets a status defining whether the projection is done with the begin or end time of the sample.voidsetGranularity(long granularity) Sets the granularity.final voidsetSelectBeginTime(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:SampleSelectorDo the projection from the specified sample- Specified by:
selectin interfaceSampleSelector<Double>- Parameters:
sample- the sample- Returns:
- the projection result
-