Class AnnotationBuilder
java.lang.Object
io.nosqlbench.nb.api.annotations.AnnotationBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(long at) Specify the instant of the annotated event.build()element(NBLabeledElement element) The session is the global name of a NoSQLBench process which run a scenario.interval(long start, long end) An interval annotation spans the time between two instants.now()Use the current UTC time as the annotation instant.
-
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- Parameters:
at-
-
addDetail
- Specified by:
addDetailin interfaceAnnotationBuilderFacets.WantsMoreDetailsOrBuild
-
build
- Specified by:
buildin interfaceAnnotationBuilderFacets.WantsMoreDetailsOrBuild
-
element
Description copied from interface:AnnotationBuilderFacets.WantsLabeledElementThe session is the global name of a NoSQLBench process which run a scenario. It is required.- Specified by:
elementin interfaceAnnotationBuilderFacets.WantsLabeledElement
-