DataEngine cache/storage

Thomas Fjellstrom tfjellstrom at shaw.ca
Wed Jul 14 19:51:13 CEST 2010


On July 14, 2010, Aaron J. Seigo wrote:
> On July 14, 2010, Thomas Fjellstrom wrote:
> > I'm wondering if the Storage or newer Caching stuff would be a good fit
> > for my DataEngine.
> > 
> > For my DNS-SD discovery mechanism, I would like sources for hosts that
> > go off line to stick around after. I can fairly easily build some
> > internal caching myself, but if plasma can provide a way to do it,
> > that would probably be a better solution.
> 
> while the DataEngine is alive, if a host goes off-line, then it's up to
> the DataEngine to not get rid of the source. between instances of the
> DataEngine being created (e.g. the DataEngine is created in response to
> a request by your applet, then the applet is removed, then it is added
> again; or between starts of plasma-desktop, etc.), the new DataEngine
> caching should indeed do the trick for you by keeping the last known
> data around.

Ah. Ok. So I will have to add in some caching of my own. Thats too bad. 
Though I can see why it would be /hard/ for plasma to manage cached data 
while the data engine is still running.

Thanks.

-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca


More information about the Plasma-devel mailing list