[MOBY-dev] RegistryCache
Ola Spjuth
ola.spjuth at farmbio.uu.se
Mon Oct 29 16:57:27 UTC 2007
Hi Paul,
So how do I use the CentralCachedCallsImpl? How can I fill/monitor/
update its cache? If I use it, will it completely replace the
CentralDigestCachedImpl? I am a bit confused here how to work with
BioMoby registries and caches and ontologies... Hope you (or someone
else) can help me out.
Cheers,
.../Ola
On Oct 26, 2007, at 16:14 , Paul Gordon wrote:
> Hi Martin,
>
> Actually, I didn't add it to CentralDigestCachedImpl for a several
> practical reasons:
>
> 1. The RDF methodology is very different from the existing
> methodology,
> so I did not want to just replace your code.
> 2. I separated registry calls and ontology definition caching into
> separate classes (see CentralCachedCallsImpl, which does extend you
> CentralImpl, and the static methods in MobyDataType etc.
> respectively),
> as these are now completely unrelated.
> 3. The existing CentralDigestCachedImpl methodology is still useful
> when
> you just want to get bits of the ontology.
>
> I am willing to revamp the CentralDigestCachedImpl code sometime to
> use
> the RDF methodology, if you're keen on it. All I would need you to do
> is build unit tests first, to elucidate the proper behaviour and make
> sure I don't break any of the current functionality on which
> Dashboard,
> etc. depend.
>
> Regards,
> Paul
>> The old story again, right? You implemented this good thing just for
>> yourself, without putting this good stuff into existing
>> CentralDigestCachedImpl instead. Therefore, we again have two ways
>> of doing
>> things, and we confuse developers. Pity...
>>
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
More information about the MOBY-dev
mailing list