On 11/04/2011 09:30, Andreas Truszkowski wrote:
> Hi Alan,

Hello,

> OK you are right. Next time I should first explain the circumstances. I
> have written my own caching system to cache the data on harddisk which
> is sended between the ports. (It`s much faster than storing the data in
> the derby database. Also the database behaves strange for huge amount of
> data.) So I only pass around a UUID object to track where the cached
> data is stored. Unfortunately due to this I loose every information of
> the output port depth.

You could create your own type of ExternalReferenceSPI and then run 
Taverna in memory. That should cope with any issues of the port depth. 
Depending upon how you have done the caching, you might be able to use 
the FileReference.

> But I have now written a workaround. The port depths are now saved in a
> hashmap and so I can fetch them from everywhere.
> However it would be more elegant if it would be possible to get the
> information from the T2Reference object instead.

What happens about the implicit iteration and wrapping in lists?

> Cheers,
> Andras
>> Alan

Alan

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to