guava-retrying icon indicating copy to clipboard operation
guava-retrying copied to clipboard

Use Clock/Timer abstraction to read nanoTime

Open wojtkiewicz opened this issue 9 years ago • 1 comments

It would be lovely if Retryer read nanoTime from some sort of Clock abstraction. Mostly for sensible integration testing from library client perspective. Since this is jdk 1.6 project I assume we can't use java.time.Clock and have to implement something custom. It will try to prepare pull request today.

wojtkiewicz avatar Feb 01 '16 09:02 wojtkiewicz

Related: #53.

JensRantil avatar Feb 02 '16 16:02 JensRantil