Serialized Form
-
Package org.opennms.nephron.testing.benchmark
-
Class org.opennms.nephron.testing.benchmark.TestingProbe extends Object implements Serializable
-
Serialized Fields
-
doFn
org.opennms.nephron.testing.benchmark.TestingProbe.MonitorDoFn doFn
-
elementCounterName
String elementCounterName
-
namespace
String namespace
-
processingTimeDistributionName
String processingTimeDistributionName
-
transform
org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<? extends T>,org.apache.beam.sdk.values.PCollection<T>> transform
-
-
-
-
Package org.opennms.nephron.testing.flowgen
-
Class org.opennms.nephron.testing.flowgen.FlowConfig extends Object implements Serializable
-
Serialized Fields
-
clockSkew
org.apache.beam.sdk.transforms.SerializableFunction<Integer,org.joda.time.Duration> clockSkew
A function that given a nodeId returns the clockSkew for that node. -
flowDurationLambda
double flowDurationLambda
Flow durations are calculated using an exponential distribution. The random value returned by the exponential distribution is the flow length in seconds. -
lastSwitched
org.apache.beam.sdk.transforms.SerializableBiFunction<Long,FlowDocuments.FlowData,org.joda.time.Instant> lastSwitched
A function that given the index of a generated flow returns its lastSwitched timestamp. The returned lastSwitched time instant is additionally randomized by a normal distribution. Note: Function implementations must not be referentially transparent. Function implementations may ignore the function parameter and simply return the current time instant. -
lastSwitchedSigma
org.joda.time.Duration lastSwitchedSigma
LastSwitched timestamps are randomized by a normal distribution with the given sigma. -
minExporter
int minExporter
Exporter numbers are generated uniformly starting at minExporter. -
minInterface
int minInterface
Interface numbers are generated uniformly starting at minInterface. -
numApplications
int numApplications
-
numDscps
int numDscps
-
numEcns
int numEcns
-
numExporters
int numExporters
-
numHosts
int numHosts
-
numInterfaces
int numInterfaces
-
numProtocols
int numProtocols
-
-
-
Class org.opennms.nephron.testing.flowgen.SourceConfig extends Object implements Serializable
-
Serialized Fields
-
flowConfig
FlowConfig flowConfig
-
flowsPerSecond
long flowsPerSecond
-
idxInc
int idxInc
-
idxOffset
int idxOffset
-
maxIdx
long maxIdx
-
maxSplits
int maxSplits
-
minSplits
int minSplits
-
seed
long seed
-
timestampPolicyFactory
SyntheticFlowTimestampPolicyFactory timestampPolicyFactory
-
-
-
Class org.opennms.nephron.testing.flowgen.SyntheticFlowSource extends org.apache.beam.sdk.io.UnboundedSource<org.opennms.netmgt.flows.persistence.model.FlowDocument,FlowReader.CheckpointMark> implements Serializable
-
Serialized Fields
-
sourceConfig
SourceConfig sourceConfig
-
-
-