Uses of Class
org.opennms.nephron.testing.flowgen.FlowDocuments.FlowData
-
Packages that use FlowDocuments.FlowData Package Description org.opennms.nephron.testing.flowgen -
-
Uses of FlowDocuments.FlowData in org.opennms.nephron.testing.flowgen
Fields in org.opennms.nephron.testing.flowgen with type parameters of type FlowDocuments.FlowData Modifier and Type Field Description static org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant>FlowConfig. CURRENT_TIME_LAST_SWITCHED_POLICYReturns a function that always return the current time instant.org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant>FlowConfig. lastSwitchedA function that given the index of a generated flow returns its lastSwitched timestamp.Methods in org.opennms.nephron.testing.flowgen that return types with arguments of type FlowDocuments.FlowData Modifier and Type Method Description static net.jqwik.api.Arbitrary<FlowDocuments.FlowData>FlowDocuments. getFlowDataArbitrary(FlowConfig cfg)static org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant>FlowConfig. linearIncreasingLastSwitchedPolicy(org.joda.time.Instant start, org.joda.time.Duration step)Calculates thelastSwitchedtimestamp linearly starting atstartand increasing bystepfor each index.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.Methods in org.opennms.nephron.testing.flowgen with parameters of type FlowDocuments.FlowData Modifier and Type Method Description static org.opennms.netmgt.flows.persistence.model.FlowDocumentFlowDocuments. getFlowDocument(FlowConfig cfg, long idx, FlowDocuments.FlowData fd)Method parameters in org.opennms.nephron.testing.flowgen with type arguments of type FlowDocuments.FlowData Modifier and Type Method Description static SourceConfigSourceConfig. of(FlowGenOptions options, org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant> lastSwitchedPolicy, SyntheticFlowTimestampPolicyFactory timestampPolicyFactory)Constructor parameters in org.opennms.nephron.testing.flowgen with type arguments of type FlowDocuments.FlowData Constructor Description FlowConfig(int minExporter, int numExporters, int minInterface, int numInterfaces, int numProtocols, int numApplications, int numHosts, int numEcns, int numDscps, 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, org.joda.time.Duration lastSwitchedSigma, double flowDurationLambda)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)
-