You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Setera, Craig" <Cr...@Kingland.com> on 2002/05/07 22:32:27 UTC
Possible to not rewrite registry fragments?
I've noticed that the Castor registry support currently rewrites the
registry fragments that have been read from disk everytime that Jetspeed is
shut down. This is somewhat annoying, as these registry fragments always
appear as outgoing changes to our CVS server. Would it be possible to add
support to the RegistryWatcher or the CastorRegistryService to track whether
a fragment has changed since it was read from disk? If so, then the
registry shutdown code would only need to write out the updated fragments.
I'm not sure if this is really possible, as I'm not sure how many different
classes make changes to the registry and the fragments in the registry.
Thanks,
Craig
Craig Setera
Sun Certified Java Programmer/Developer/Web Component Developer
Senior Software Architect, Kingland Systems Corporation
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Possible to not rewrite registry fragments?
Posted by David Sean Taylor <da...@bluesunrise.com>.
I think it would be possible.
We could add a dirty flag to the registry fragment.
Another option is to turn it off, but that also needs to be tested.
services.Registry.refreshRate=0
> -----Original Message-----
> From: Setera, Craig [mailto:Craig.Setera@Kingland.com]
> Sent: Tuesday, May 07, 2002 1:32 PM
> To: 'jetspeed-dev@jakarta.apache.org'
> Subject: Possible to not rewrite registry fragments?
>
>
> I've noticed that the Castor registry support currently
> rewrites the registry fragments that have been read from disk
> everytime that Jetspeed is shut down. This is somewhat
> annoying, as these registry fragments always appear as
> outgoing changes to our CVS server. Would it be possible to
> add support to the RegistryWatcher or the
> CastorRegistryService to track whether a fragment has changed
> since it was read from disk? If so, then the registry
> shutdown code would only need to write out the updated fragments.
>
> I'm not sure if this is really possible, as I'm not sure how
> many different classes make changes to the registry and the
> fragments in the registry.
>
> Thanks,
> Craig
>
> Craig Setera
> Sun Certified Java Programmer/Developer/Web Component
> Developer Senior Software Architect, Kingland Systems Corporation
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-dev-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>