You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Caizhi Weng (JIRA)" <ji...@apache.org> on 2019/07/11 11:03:00 UTC
[jira] [Updated] (FLINK-13198) Introduce TimeUtils with parsing
method
[ https://issues.apache.org/jira/browse/FLINK-13198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caizhi Weng updated FLINK-13198:
--------------------------------
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.
was:Similar with MemorySize in the configuration package, we also need to introduce a TimeInterval so that users can write configurations like "cache.ttl = 1min".
Summary: Introduce TimeUtils with parsing method (was: Introduce TimeInterval in configuration package)
> Introduce TimeUtils with parsing method
> ---------------------------------------
>
> Key: FLINK-13198
> URL: https://issues.apache.org/jira/browse/FLINK-13198
> Project: Flink
> Issue Type: Improvement
> Reporter: Caizhi Weng
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)