Id : |
363 |
Type : |
IMPROVEMENT |
Reporter : |
Benjamin Jeanty-Ruard |
Assignee : |
|
Priority : |
MAJOR |
Creation Date : |
07 Jan 16 02:56 |
Last Update Date : |
07 Jan 16 02:56 |
Resolution : |
UNRESOLVED
|
In the PipeLineManager, when a data set, a mapper or an actor are added, all the connectivity is build from scratch.
More over the connectivity computation is not optimized at all.
Indeed, if lots of data set/mapper/actor are added, each of them rebuilt the connectivity between the data set and the mapper. This is a problem, specially for EDGE.
A solution is to optimize the method addDataSet, addMaper, … This method call the method {@link VtkObjectListModel#addVtkObject(CassandraObject)}. This method calls the method fireIntervalAdded where the listeners are notified with the method {@link VtkPipeLineGraphModel#intervalAdded(javax.swing.event.ListDataEvent)}. This method updates the connectivity and must be optimized. Indeed, all the connectivity is clear and build again.
A solution is to use the input parameter of the {@link VtkPipeLineGraphModel#intervalAdded(javax.swing.event.ListDataEvent)} method. Then, you process only the connectivity about the data set. To finish, it is not necessary to clean all the data set connectivity in the current case (add a data set at the end of the data set list), but only update the good one.
Post a comment :
Wiki Syntax
Simple text filters
Mnemonic | Rendering | Comment |
---|
1 Title | | a style 1 heading (major heading) |
1.1 Title | | a style 1.1 heading (minor heading) |
- text | | a list item (with -), several lines create a single list |
* text | | a list item (with *) |
1. text | | an enumerated list |
__bold__ | bold | simple bold text |
~~italics~~ | italics | simple italic text |
--strike-- | strike | strike through text |
(empty line) | | produces a new paragraph |
\\
| | creates a line break, please use sparingly! |
[/documentation] or [../documentation] or [/documentation|Doc] | Like a standard link | internal link to another document |
http://www.libresource.org/ | http://www.libresource.org/ | creates a link to an external resource, special characters that come after the URL and are not part of it must be separated with a space. |
\X | X | escape special character X (i.e. {) |
---- | | creates a horizontal rule |
Macros List
Macro syntaxe: {macroName:key1=param1|key2=param2|...}
list-of-macros: Comparison method violates its general contract!
Smiley
| | | | | | | | | | | | | |
---|
:-) | :-( | ;-) | :-P | :-D | :-[ | :-/ | :-* | >:o | 8-) | :-$ | :-! | :'( | :-X =-O |