[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to