[MOBY-dev] RegistryCache
Ola Spjuth
ola.spjuth at farmbio.uu.se
Mon Oct 29 19:58:05 UTC 2007
Yes, but how do I fill the cache so that I can use the central
offline (I'm building a rich client)?
The methods below are not available from the CentralCachedCallsImpl:
MobyDataType[] types=castWorker.getDataTypes();
MobyService[] services=castWorker.getServices();
MobyServiceType[] serviceTypes=castWorker.getFullServiceTypes();
and I want to build a full service hierarchy (as in dashboard). Are
there other ways of obtaining this information? How can I get the
state of the caching (age, size etc) and update it? The
CentralCachedCallsImpl seems rather lightweight... Is there a helper
class with convenience methods available?
Thanks,
.../Ola
On Oct 29, 2007, at 18:06 , Paul Gordon wrote:
> Hi Ola,
>
> If you want to use CentralCachedCallsImpl, simply use it whenever you
> would use CentralImpl.
> It takes care of all the caching details for you, you should never
> have
> to explicitly check if something
> is cached or not, just call the methods as the Central interface
> specifies. I'm not trying to be vague,
> I just tried to make it easy to use :-)
>
> Regards,
>
> Paul
> _______________________________________________
> 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