You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Simon Willnauer <si...@googlemail.com> on 2009/11/08 20:59:56 UTC

Re: [jira] Updated: (LUCENE-2030) CachingSpanFilter synchronizing on a none final protected object

Uwe, happy that you found a nice way to do it! Java 5 concurrent is gonna be
use in a whole lot of places I guess.

Simon

On Nov 8, 2009 8:07 PM, "Uwe Schindler (JIRA)" <ji...@apache.org> wrote:

[
https://issues.apache.org/jira/browse/LUCENE-2030?page=com.atlassian.jira.plugin.system.issu.
..
New patch that uses ReentrantLock from Java5's concurrent package. This lock
is serializable. All tests pass, will commit soon.

> CachingSpanFilter synchronizing on a none final protected object >
------------------------------...
>         Attachments: LUCENE-2030.patch, LUCENE-2030.patch,
LUCENE-2030.patch, LUCENE-2030.patch

> > > CachingSpanFilter and CachingWrapperFilter expose their internal cache
via a protected member ...