[infinispan-dev] ClockService

Manik Surtani msurtani at redhat.com
Tue Jan 29 19:45:50 EST 2013


On 29 Jan 2013, at 18:27, Mircea Markus <mmarkus at redhat.com> wrote:

> I guess Bela's question was about why System. currentTimeMillis() would trigger a context switch, I'm also curious about that one :-) 

On its own it doesn't. But if we have a cached clock with a scheduled thread updating that cached value periodically, that happens in an async thread.

--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Platform Architect, JBoss Data Grid
http://red.ht/data-grid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130130/ccc70a34/attachment.html 


More information about the infinispan-dev mailing list