portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor" <da...@bluesunrise.com>
Subject RE: Possible to not rewrite registry fragments?
Date Fri, 10 May 2002 17:03:32 GMT
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: <mailto:jetspeed-dev-help@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message