Interface SyntheticFlowTimestampPolicyFactory
-
- All Superinterfaces:
Serializable
public interface SyntheticFlowTimestampPolicyFactory extends Serializable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntheticFlowTimestampPolicycreate(Optional<org.joda.time.Instant> previous)Creates a SyntheticFlowTimestampPolicy.static SyntheticFlowTimestampPolicyFactorywithLimitedDelay(org.joda.time.Duration maxDelay, org.apache.beam.sdk.transforms.SerializableFunction<org.opennms.netmgt.flows.persistence.model.FlowDocument,org.joda.time.Instant> timestampFunction)static SyntheticFlowTimestampPolicyFactorywithLimitedDelay(org.opennms.nephron.NephronOptions options, org.apache.beam.sdk.transforms.SerializableFunction<org.opennms.netmgt.flows.persistence.model.FlowDocument,org.joda.time.Instant> timestampFunction)
-
-
-
Method Detail
-
create
SyntheticFlowTimestampPolicy create(Optional<org.joda.time.Instant> previous)
Creates a SyntheticFlowTimestampPolicy.- Parameters:
previous- an optional time instant that a timestamp policy can use when initialized based on a checkpoint mark
-
withLimitedDelay
static SyntheticFlowTimestampPolicyFactory withLimitedDelay(org.joda.time.Duration maxDelay, org.apache.beam.sdk.transforms.SerializableFunction<org.opennms.netmgt.flows.persistence.model.FlowDocument,org.joda.time.Instant> timestampFunction)
-
withLimitedDelay
static SyntheticFlowTimestampPolicyFactory withLimitedDelay(org.opennms.nephron.NephronOptions options, org.apache.beam.sdk.transforms.SerializableFunction<org.opennms.netmgt.flows.persistence.model.FlowDocument,org.joda.time.Instant> timestampFunction)
-
-