lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: toString on Thread
Date Thu, 01 Mar 2012 22:31:58 GMT
> Though it is nice to see what segments are being merged by the
> thread... but this risk is awful.  App can turn on IW's infoStream to
> see it too...

This could be possible by updating a volatile string somewhere and
only exposing it in toString override, but I don't know if this is
worth the effort. Volatile will impose an additional happens-before,
etc.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message