[infinispan-dev] [Discussion] TimeService implementation

Mircea Markus mmarkus at redhat.com
Thu May 2 07:50:41 EDT 2013


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)







More information about the infinispan-dev mailing list