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

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

Assignees

TikhomirovSergey

Labels

@TikhomirovSergey

Description

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions