Skip to content

Re-design of the TimeOutDuration and WithTimeout. Use java.time.Duration instead of java.util.concurrent.TimeUnit #742

Description

@TikhomirovSergey

Description

  • mark old methods and parameters of the annotation @Deprecated

  • add get/set methods to the TimeOutDuration. These methods should get and set an instance of 'java.time.Duration'

  • WithTimeout should have a parameter of the java.time.temporal.ChronoUnit

Details

Java 8 is more powerful than 7. Also I think it is more correct way to use the native and general java.time package instead of more specifical java.util.concurrent in our case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions