Package io.nosqlbench.api.annotations
Class AnnotationBuilder
java.lang.Object
io.nosqlbench.api.annotations.AnnotationBuilder
- All Implemented Interfaces:
AnnotationBuilderFacets.All,AnnotationBuilderFacets.WantsInterval,AnnotationBuilderFacets.WantsLabels,AnnotationBuilderFacets.WantsLayer,AnnotationBuilderFacets.WantsMoreDetailsOrBuild,AnnotationBuilderFacets.WantsMoreLabelsOrDetails,AnnotationBuilderFacets.WantsSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(long at) Specify the instant of the annotated event.build()interval(long start, long end) An interval annotation spans the time between two instants.now()Use the current UTC time as the annotation instant.The session is the global name of a NoSQLBench process which run a scenario.
-
Constructor Details
-
AnnotationBuilder
public AnnotationBuilder()
-
-
Method Details
-
layer
- Specified by:
layerin interfaceAnnotationBuilderFacets.WantsLayer
-
interval
Description copied from interface:AnnotationBuilderFacets.WantsIntervalAn interval annotation spans the time between two instants.- Specified by:
intervalin interfaceAnnotationBuilderFacets.WantsInterval
-
now
Description copied from interface:AnnotationBuilderFacets.WantsIntervalUse the current UTC time as the annotation instant.- Specified by:
nowin interfaceAnnotationBuilderFacets.WantsInterval
-
at
Description copied from interface:AnnotationBuilderFacets.WantsIntervalSpecify the instant of the annotated event.- Specified by:
atin interfaceAnnotationBuilderFacets.WantsInterval
-
label
- Specified by:
labelin interfaceAnnotationBuilderFacets.WantsLabels- Specified by:
labelin interfaceAnnotationBuilderFacets.WantsMoreLabelsOrDetails
-
detail
- Specified by:
detailin interfaceAnnotationBuilderFacets.WantsMoreDetailsOrBuild- Specified by:
detailin interfaceAnnotationBuilderFacets.WantsMoreLabelsOrDetails
-
build
- Specified by:
buildin interfaceAnnotationBuilderFacets.WantsMoreDetailsOrBuild
-
session
Description copied from interface:AnnotationBuilderFacets.WantsSessionThe session is the global name of a NoSQLBench process which run a scenario. It is required.- Specified by:
sessionin interfaceAnnotationBuilderFacets.WantsSession
-