This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 28124 - DataObjectFileSet listening on DataLoaderPool is expensive
Summary: DataObjectFileSet listening on DataLoaderPool is expensive
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: PERFORMANCE
: 30582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-18 17:12 UTC by _ rkubacki
Modified: 2004-04-19 16:17 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2002-10-18 17:12:48 UTC
Currently projects DataObjectFileSet is refreshed
always when any DataObject is created. This is
very agressive and not very scalable. Likely we
should try to do it lazily.
Comment 1 Vitezslav Stejskal 2003-02-03 11:04:45 UTC
*** Issue 30582 has been marked as a duplicate of this issue. ***
Comment 2 Jan Pokorsky 2003-02-18 20:33:42 UTC
Filesets handling data objects do not use OperationListener any more.
It is replaced with FileChangeManager which uses just the FileSystem API.


implemented in:

/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/DataFolderFileSet.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/DataFolderListener.java
new revision: delete; previous revision: 1.1.2.3
/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/DataObjectFileSet.java
new revision: 1.1.2.13; previous revision: 1.1.2.12


plus some refactoring and tests:

/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/ContainerSupport.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/FileFolderFileSet.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/FileObjectContainer.java
new revision: 1.1.2.1; previous revision: 1.1
/cvs/projects/filesets/src/org/netbeans/modules/filesets/Attic/FileObjectFileSet.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
/cvs/projects/filesets/test/Attic/cfg-unit.xml
new revision: 1.1.2.3; previous revision: 1.1.2.2
/cvs/projects/filesets/test/unit/src/org/netbeans/modules/filesets/Attic/DataFolderFileSetTest.java
new revision: 1.1.2.7; previous revision: 1.1.2.6
/cvs/projects/filesets/test/unit/src/org/netbeans/modules/filesets/Attic/DataObjectFileSetTest.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
/cvs/projects/filesets/test/unit/src/org/netbeans/modules/filesets/Attic/ProxyFileSetTest.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
Comment 3 Jan Becicka 2003-11-25 14:01:30 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 4 Jan Becicka 2003-11-25 14:10:10 UTC
---> CLOSED