Package io.nosqlbench.nb.api.annotations
Interface BuilderFacets.WantsInterval
- All Known Subinterfaces:
BuilderFacets.All
- All Known Implementing Classes:
AnnotationBuilder
- Enclosing interface:
- BuilderFacets
public static interface BuilderFacets.WantsInterval
-
Method Summary
Modifier and Type Method Description BuilderFacets.WantsLayerat(long epochMillis)Specify the instant of the annotated event.BuilderFacets.WantsLayerinterval(long startMillis, long endMillis)An interval annotation spans the time between two instants.BuilderFacets.WantsLayernow()Use the current UTC time as the annotation instant.
-
Method Details
-
at
Specify the instant of the annotated event.- Parameters:
epochMillis-
-
interval
An interval annotation spans the time between two instants. -
now
BuilderFacets.WantsLayer now()Use the current UTC time as the annotation instant.
-