Uses of Interface
org.opennms.nephron.testing.flowgen.FlowGenOptions
-
Packages that use FlowGenOptions Package Description org.opennms.nephron.testing.benchmark org.opennms.nephron.testing.flowgen -
-
Uses of FlowGenOptions in org.opennms.nephron.testing.benchmark
Subinterfaces of FlowGenOptions in org.opennms.nephron.testing.benchmark Modifier and Type Interface Description interfaceBenchmarkOptionsMethods in org.opennms.nephron.testing.benchmark with parameters of type FlowGenOptions Modifier and Type Method Description static org.apache.kafka.clients.producer.Producer<String,byte[]>KafkaFlowIngester. createProducer(FlowGenOptions options)static longKafkaFlowIngester. sendRecordsToKafka(FlowGenOptions options) -
Uses of FlowGenOptions in org.opennms.nephron.testing.flowgen
Methods in org.opennms.nephron.testing.flowgen with parameters of type FlowGenOptions Modifier and Type Method Description static org.apache.beam.sdk.transforms.SerializableFunction<Integer,org.joda.time.Duration>FlowConfig. groupClockSkewPolicy(FlowGenOptions options)A clock skew policy that calculates for each nodeId a clock skew group number between 0 andgetNumClockSkewGroups()and uses that group number as a factor for multiplying thegetClockSkewMs().static SourceConfigSourceConfig. of(FlowGenOptions options, org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant> lastSwitchedPolicy, SyntheticFlowTimestampPolicyFactory timestampPolicyFactory)static SourceConfigSourceConfig. of(FlowGenOptions options, SyntheticFlowTimestampPolicyFactory timestampPolicyFactory)static org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant>FlowConfig. uniformInWindowLastSwitchedPolicy(FlowGenOptions opts)Calculates thelastSwitchedtimestamp uniformly distributed according to the configured start, window size, and number of flows per window.Constructors in org.opennms.nephron.testing.flowgen with parameters of type FlowGenOptions Constructor Description FlowConfig(FlowGenOptions opts, org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant> lastSwitched, org.apache.beam.sdk.transforms.SerializableFunction<Integer,org.joda.time.Duration> clockSkew)
-