class_docstr: The WatermarkStrategy defines how to generate Watermarks in the stream sources. The
  WatermarkStrategy is a builder/factory for the WatermarkGenerator that generates the watermarks
  and the TimestampAssigner which assigns the internal timestamp of a record.
  
  The convenience methods, for example forBoundedOutOfOrderness(Duration), create a
  WatermarkStrategy for common built in strategies.
class_docstr_tok: ["The","WatermarkStrategy","defines","how","to","generate","Watermarks","in","the","stream","sources",".","The","WatermarkStrategy","is","a","builder\/factory","for","the","WatermarkGenerator","that","generates","the","watermarks","and","the","TimestampAssigner","which","assigns","the","internal","timestamp","of","a","record",".","The","convenience","methods",",","for","example","forBoundedOutOfOrderness","(","Duration",")",",","create","a","WatermarkStrategy","for","common","built","in","strategies","."]
docstr: Creates a watermark strategy for situations with monotonously ascending timestamps.
  
  The watermarks are generated periodically and tightly follow the latest timestamp in the
  data. The delay introduced by this strategy is mainly the periodic interval in which the
  watermarks are generated.
docstr_tok: ["Creates","a","watermark","strategy","for","situations","with","monotonously","ascending","timestamps",".","The","watermarks","are","generated","periodically","and","tightly","follow","the","latest","timestamp","in","the","data",".","The","delay","introduced","by","this","strategy","is","mainly","the","periodic","interval","in","which","the","watermarks","are","generated","."]
code: def for_monotonous_timestamps() -> "WatermarkStrategy":
      """
      Creates a watermark strategy for situations with monotonously ascending timestamps.
  
      The watermarks are generated periodically and tightly follow the latest timestamp in the
      data. The delay introduced by this strategy is mainly the periodic interval in which the
      watermarks are generated.
      """
      JWaterMarkStrategy = (
          get_gateway().jvm.org.apache.flink.api.common.eventtime.WatermarkStrategy
      )
      return WatermarkStrategy(
          JWaterMarkStrategy.forMonotonousTimestamps()
      )
  
file_path: flink/flink-python/pyflink/common/watermark_strategy.py
imports: import abc
  from typing import Any, Optional
  from pyflink.common.time import Duration
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 5 for calling the WatermarkStrategy obj's underlying member method code with example usage: obj.for_monotonous_timestamps() and returns: WatermarkStrategy