commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-156) Use a set to hold the listeners in AbstractFileSystem
Date Mon, 14 May 2007 19:36:16 GMT

    [ https://issues.apache.org/jira/browse/VFS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495763
] 

Mario Ivankovits commented on VFS-156:
--------------------------------------

reg LRUFileCache: I'll deprecate any cache other than the SoftRef, WeakRef as with any other
implementation VFS will leak memory too ... it will never free the FileSystem map .... if
you don't come up with a patch for this too :-)

Even then LRUFileCache is optional.

Might it be sufficient to add a method e.g. hasFileListener(xx) ?

> Use a set to hold the listeners in AbstractFileSystem
> -----------------------------------------------------
>
>                 Key: VFS-156
>                 URL: https://issues.apache.org/jira/browse/VFS-156
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>            Priority: Minor
>         Attachments: feature_ListOrderedSet-listeners.patch
>
>
> Use a set(from commons-collections) to hold the listeners, so that a listener isn't added
multiple times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message