On 3 May 2013, at 16:49, Manik Surtani wrote:
On 2 May 2013, at 19:01, Pedro Ruivo <pedro(a)infinispan.org>
wrote:
>
> preciseTime() {return (cached = System.nanoTime());}
> impreciseTime() {return cached;}
How would you invalidate the cached time?
update the cache value async every X
millis would be one way to do it.
As a note, we shouldn't focus on caching the time for now but just use the service in
order to be able to unit test time related issues.
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)