On 1 May 2013, at 08:43, Galder ZamarreƱo wrote:
Great idea, hopefully it will make time related tests more reliable
:).
However, is the testsuite the only use case?
There's already been calls for a TimeService or ClockService as indicated by Sanne,
here's one of the discussion threads:
http://lists.jboss.org/pipermail/infinispan-dev/2013-January/011933.html
I like the ClockService name better :)
TimeService sounds more generic to me, as System.nanoTime doesn't involve any clock.
Either would do though :-)
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)