Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13198

Introduce TimeUtils with parsing method

    XMLWordPrintableJSON

Details

    Description

      We need a parse function to parse strings like "123ms", "321s", "12min" and such, so that users can write configurations like "cache.ttl = 1min" and the user input can be changed into a Java Duration.

      This pull request introduce TimeUtils with parseDuration method to meet the above needs.

      Attachments

        Issue Links

          Activity

            People

              TsReaper Caizhi Weng
              TsReaper Caizhi Weng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m